{"action":"created","issue":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/502","labels_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/502/comments","events_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/502/events","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/issues/502","id":122903564,"number":502,"title":"jsonContext.toJson(o, generator, path) can not apply path on @Transient field","user":{"login":"icode","id":972959,"avatar_url":"https://avatars.githubusercontent.com/u/972959?v=3","gravatar_id":"","url":"https://api.github.com/users/icode","html_url":"https://github.com/icode","followers_url":"https://api.github.com/users/icode/followers","following_url":"https://api.github.com/users/icode/following{/other_user}","gists_url":"https://api.github.com/users/icode/gists{/gist_id}","starred_url":"https://api.github.com/users/icode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icode/subscriptions","organizations_url":"https://api.github.com/users/icode/orgs","repos_url":"https://api.github.com/users/icode/repos","events_url":"https://api.github.com/users/icode/events{/privacy}","received_events_url":"https://api.github.com/users/icode/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-12-18T08:23:39Z","updated_at":"2016-01-12T23:58:31Z","closed_at":null,"body":"```java\r\nclass Model {\r\nString a;\r\n@Transient\r\nList<ModelB> list;\r\n}\r\nModel model = findById(1);\r\nmodel.list = find(ModelB.class).select(\"oneField\").findList();\r\n//path -> (a,list(oneField))\r\njsonContext.toJson(o, generator, path)\r\n//-> {\"a\":\"a\",list:[{\"oneField\":1,\"twoField\":null}]} should not show `twoField`\r\n```"},"comment":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/comments/171104149","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/issues/502#issuecomment-171104149","issue_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/502","id":171104149,"user":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T23:58:31Z","updated_at":"2016-01-12T23:58:31Z","body":"Running this test produces:\r\n\r\norg.junit.ComparisonFailure: \r\nExpected :{\"a\":\"a\",\"list\":[{\"oneField\":1,\"twoField\":1}]}\r\nActual   :{\"a\":\"a\",\"list\":[{\"oneField\":1}]}\r\n\r\nHmm, there is no null there."}}