{"action":"created","issue":{"url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14","labels_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14/comments","events_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14/events","html_url":"https://github.com/pinterest/ios-pdk/issues/14","id":111298021,"number":14,"title":"Api to fetch new boards - Need a fix","user":{"login":"vsridharan6","id":2198154,"avatar_url":"https://avatars.githubusercontent.com/u/2198154?v=3","gravatar_id":"","url":"https://api.github.com/users/vsridharan6","html_url":"https://github.com/vsridharan6","followers_url":"https://api.github.com/users/vsridharan6/followers","following_url":"https://api.github.com/users/vsridharan6/following{/other_user}","gists_url":"https://api.github.com/users/vsridharan6/gists{/gist_id}","starred_url":"https://api.github.com/users/vsridharan6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsridharan6/subscriptions","organizations_url":"https://api.github.com/users/vsridharan6/orgs","repos_url":"https://api.github.com/users/vsridharan6/repos","events_url":"https://api.github.com/users/vsridharan6/events{/privacy}","received_events_url":"https://api.github.com/users/vsridharan6/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pinterest/ios-pdk/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rcancro","id":285809,"avatar_url":"https://avatars.githubusercontent.com/u/285809?v=3","gravatar_id":"","url":"https://api.github.com/users/rcancro","html_url":"https://github.com/rcancro","followers_url":"https://api.github.com/users/rcancro/followers","following_url":"https://api.github.com/users/rcancro/following{/other_user}","gists_url":"https://api.github.com/users/rcancro/gists{/gist_id}","starred_url":"https://api.github.com/users/rcancro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcancro/subscriptions","organizations_url":"https://api.github.com/users/rcancro/orgs","repos_url":"https://api.github.com/users/rcancro/repos","events_url":"https://api.github.com/users/rcancro/events{/privacy}","received_events_url":"https://api.github.com/users/rcancro/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-10-14T00:23:10Z","updated_at":"2015-10-14T23:26:40Z","closed_at":"2015-10-14T23:26:40Z","body":"1. Create a board with no image in it. \r\n2. Call the api to get all the boards.\r\n\r\n[[PDKClient sharedInstance] getAuthenticatedUserBoardsWithFields:[NSSet setWithObjects:@\"id\", @\"name\", @\"url\", @\"description\", @\"image[medium]\", nil] ....\r\n\r\n3. When you ask for image, the client either expects NO image field set, or at least some sort of place holder. Not this.\r\ndescription = \"test 3\";\r\nid = 432064226690179447;\r\nimage = {\r\nmedium = {\r\nheight = 150;\r\nurl = \"<null>\";\r\nwidth = 200;\r\n};\r\n};\r\n\r\nname = \"Testing 3\";\r\n\r\nThat value \"<null>\". No. This has to be fixed. \r\n\r\nRight now I can add some cases to handle this, but this is passed as a string value.\r\n"},"comment":{"url":"https://api.github.com/repos/pinterest/ios-pdk/issues/comments/148231865","html_url":"https://github.com/pinterest/ios-pdk/issues/14#issuecomment-148231865","issue_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14","id":148231865,"user":{"login":"rcancro","id":285809,"avatar_url":"https://avatars.githubusercontent.com/u/285809?v=3","gravatar_id":"","url":"https://api.github.com/users/rcancro","html_url":"https://github.com/rcancro","followers_url":"https://api.github.com/users/rcancro/followers","following_url":"https://api.github.com/users/rcancro/following{/other_user}","gists_url":"https://api.github.com/users/rcancro/gists{/gist_id}","starred_url":"https://api.github.com/users/rcancro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcancro/subscriptions","organizations_url":"https://api.github.com/users/rcancro/orgs","repos_url":"https://api.github.com/users/rcancro/repos","events_url":"https://api.github.com/users/rcancro/events{/privacy}","received_events_url":"https://api.github.com/users/rcancro/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T23:26:40Z","updated_at":"2015-10-14T23:26:40Z","body":"The \"JSON\" that you are seeing is the result of ASNetworking parsing raw JSON into an NSDictionary (presumably using the built-in JSON parser). The NSDictionary CANNOT have nil as an object, so the OS puts in an NSNull object. It is your responsibility to handle these NSNulls."}}