{"action":"created","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/59","repository_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python","labels_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/59/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/59/events","html_url":"https://github.com/OneDrive/onedrive-sdk-python/issues/59","id":178667574,"number":59,"title":"Refactor json encoding and decoding","user":{"login":"cdmayer","id":10051097,"avatar_url":"https://avatars2.githubusercontent.com/u/10051097?v=4","gravatar_id":"","url":"https://api.github.com/users/cdmayer","html_url":"https://github.com/cdmayer","followers_url":"https://api.github.com/users/cdmayer/followers","following_url":"https://api.github.com/users/cdmayer/following{/other_user}","gists_url":"https://api.github.com/users/cdmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/cdmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdmayer/subscriptions","organizations_url":"https://api.github.com/users/cdmayer/orgs","repos_url":"https://api.github.com/users/cdmayer/repos","events_url":"https://api.github.com/users/cdmayer/events{/privacy}","received_events_url":"https://api.github.com/users/cdmayer/received_events","type":"User","site_admin":false},"labels":[{"id":256545292,"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T17:08:21Z","updated_at":"2018-04-30T20:01:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"JSON values are getting serialized and deserialized in-line. This makes it difficult to catch problems with invalid JSON (such as a response with an empty body, or with a body that is invalid JSON). Refactor the generated code to wrap the serialization/deserialization process and return proper OneDriveErrors when an invalid value is returned.\n"},"comment":{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/comments/385511869","html_url":"https://github.com/OneDrive/onedrive-sdk-python/issues/59#issuecomment-385511869","issue_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/59","id":385511869,"user":{"login":"rschork","id":5279286,"avatar_url":"https://avatars2.githubusercontent.com/u/5279286?v=4","gravatar_id":"","url":"https://api.github.com/users/rschork","html_url":"https://github.com/rschork","followers_url":"https://api.github.com/users/rschork/followers","following_url":"https://api.github.com/users/rschork/following{/other_user}","gists_url":"https://api.github.com/users/rschork/gists{/gist_id}","starred_url":"https://api.github.com/users/rschork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschork/subscriptions","organizations_url":"https://api.github.com/users/rschork/orgs","repos_url":"https://api.github.com/users/rschork/repos","events_url":"https://api.github.com/users/rschork/events{/privacy}","received_events_url":"https://api.github.com/users/rschork/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T20:01:59Z","updated_at":"2018-04-30T20:01:59Z","author_association":"NONE","body":"Bump - I have been getting JSON errors a lot recently. Things like the below:\r\n\r\nonedrivesdk.error.OneDriveError: malformed - The following invalid JSON was returned:\r\n<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'\r\n><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><s\r\ntyle type='text/css'>body {font-family:Arial; margin-left:40px; }img  { border:0 none; }#content { margin-left: auto; ma\r\nrgin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message\r\n p  { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 4\r\n1px }</style><title>OneDrive</title></head><body><div id='content'><div id='message'><h2>Our services aren't available r\r\night now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p></div><div id='err\r\norref'><span>Ref A: 106DA54BC29E4340B334EDE899669B52 Ref B: AMS04EDGE0417 Ref C: 2018-04-30T19:57:06Z</span></div></div>\r\n</body></html>\r\n\r\n"}}
{"actor":{"display_login":"rschork"}}