{"action":"created","issue":{"url":"https://api.github.com/repos/google/gson/issues/232","repository_url":"https://api.github.com/repos/google/gson","labels_url":"https://api.github.com/repos/google/gson/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/google/gson/issues/232/comments","events_url":"https://api.github.com/repos/google/gson/issues/232/events","html_url":"https://github.com/google/gson/issues/232","id":63058067,"number":232,"title":"Read and write Json properties using methods (ie. getters & setters)","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars0.githubusercontent.com/u/9614759?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"id":189516600,"url":"https://api.github.com/repos/google/gson/labels/Milestone-Undefined","name":"Milestone-Undefined","color":"ededed","default":false},{"id":189516455,"url":"https://api.github.com/repos/google/gson/labels/Priority-Medium","name":"Priority-Medium","color":"ededed","default":false},{"id":189516499,"url":"https://api.github.com/repos/google/gson/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed","default":false},{"id":189516456,"url":"https://api.github.com/repos/google/gson/labels/auto-migrated","name":"auto-migrated","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2015-03-19T18:26:56Z","updated_at":"2018-04-01T08:20:57Z","closed_at":null,"author_association":"NONE","body":"```\nif your object has an int getId(); method. Maybe you want to have a \n\n@Field(\"id\")\npublic int getId();\n\nWhen the Json is generated the getId() method is called and the result is \nplaced in \"id\"\nI know that I could have a int field in my class, but, in my case the Id is \ngenerate by Hibernate once the object is saved.\n\n```\n\nOriginal issue reported on code.google.com by `Germanattanasio` on 7 Sep 2010 at 2:04\n"},"comment":{"url":"https://api.github.com/repos/google/gson/issues/comments/377771181","html_url":"https://github.com/google/gson/issues/232#issuecomment-377771181","issue_url":"https://api.github.com/repos/google/gson/issues/232","id":377771181,"user":{"login":"james-hu","id":8565700,"avatar_url":"https://avatars2.githubusercontent.com/u/8565700?v=4","gravatar_id":"","url":"https://api.github.com/users/james-hu","html_url":"https://github.com/james-hu","followers_url":"https://api.github.com/users/james-hu/followers","following_url":"https://api.github.com/users/james-hu/following{/other_user}","gists_url":"https://api.github.com/users/james-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/james-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-hu/subscriptions","organizations_url":"https://api.github.com/users/james-hu/orgs","repos_url":"https://api.github.com/users/james-hu/repos","events_url":"https://api.github.com/users/james-hu/events{/privacy}","received_events_url":"https://api.github.com/users/james-hu/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T08:20:57Z","updated_at":"2018-04-01T08:20:57Z","author_association":"NONE","body":"Is it possible to have @rajsrivastav1919 's implementation into the code base? Besides, it might also be useful if `setAccessible(true)` code can be opt-out by configuration."}}
{"actor":{"display_login":"james-hu"}}