{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/435","labels_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/435/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/435/events","html_url":"https://github.com/aws/aws-sdk-go/pull/435","id":116700560,"number":435,"title":"private/protocol/json/jsonutil: reduce build allocs","user":{"login":"bpot","id":8415,"avatar_url":"https://avatars.githubusercontent.com/u/8415?v=3","gravatar_id":"","url":"https://api.github.com/users/bpot","html_url":"https://github.com/bpot","followers_url":"https://api.github.com/users/bpot/followers","following_url":"https://api.github.com/users/bpot/following{/other_user}","gists_url":"https://api.github.com/users/bpot/gists{/gist_id}","starred_url":"https://api.github.com/users/bpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpot/subscriptions","organizations_url":"https://api.github.com/users/bpot/orgs","repos_url":"https://api.github.com/users/bpot/repos","events_url":"https://api.github.com/users/bpot/events{/privacy}","received_events_url":"https://api.github.com/users/bpot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-13T05:03:49Z","updated_at":"2015-11-13T18:23:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aws/aws-sdk-go/pulls/435","html_url":"https://github.com/aws/aws-sdk-go/pull/435","diff_url":"https://github.com/aws/aws-sdk-go/pull/435.diff","patch_url":"https://github.com/aws/aws-sdk-go/pull/435.patch"},"body":"More work on https://github.com/aws/aws-sdk-go/issues/377\r\n\r\nAvoids fetching a field if its value is empty. There are many cases\r\nwhere most fields will be empty. For example, `dynamodb.AttributeValue`.\r\n\r\n```\r\nbenchmark                 old ns/op     new ns/op     delta\r\nBenchmarkBuildJSON-4      8942          7807          -12.69%\r\n\r\nbenchmark                 old allocs     new allocs     delta\r\nBenchmarkBuildJSON-4      58             45             -22.41%\r\n\r\nbenchmark                 old bytes     new bytes     delta\r\nBenchmarkBuildJSON-4      1344          1136          -15.48%\r\n```"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/comments/156508704","html_url":"https://github.com/aws/aws-sdk-go/pull/435#issuecomment-156508704","issue_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/435","id":156508704,"user":{"login":"jasdel","id":961963,"avatar_url":"https://avatars.githubusercontent.com/u/961963?v=3","gravatar_id":"","url":"https://api.github.com/users/jasdel","html_url":"https://github.com/jasdel","followers_url":"https://api.github.com/users/jasdel/followers","following_url":"https://api.github.com/users/jasdel/following{/other_user}","gists_url":"https://api.github.com/users/jasdel/gists{/gist_id}","starred_url":"https://api.github.com/users/jasdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasdel/subscriptions","organizations_url":"https://api.github.com/users/jasdel/orgs","repos_url":"https://api.github.com/users/jasdel/repos","events_url":"https://api.github.com/users/jasdel/events{/privacy}","received_events_url":"https://api.github.com/users/jasdel/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T18:23:28Z","updated_at":"2015-11-13T18:23:28Z","body":"Hi @bpot thanks for making this improvement reducing the allocations when marshaling to JSON. The code change looks good."}}