{"action":"created","issue":{"url":"https://api.github.com/repos/nteract/commutable/issues/50","repository_url":"https://api.github.com/repos/nteract/commutable","labels_url":"https://api.github.com/repos/nteract/commutable/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/nteract/commutable/issues/50/comments","events_url":"https://api.github.com/repos/nteract/commutable/issues/50/events","html_url":"https://github.com/nteract/commutable/issues/50","id":181906393,"number":50,"title":"Adapt *+json media type handling to allow passthrough","user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-09T19:41:57Z","updated_at":"2016-10-17T03:47:39Z","closed_at":null,"body":"Because of how we do our processing of multiline strings (and as a consequence of the nbformat), arrays in `application/json` mime bundles are not treated as direct JSON. We need to make sure to allow Arrays at the top level.\r\n\r\nIn the past, we left this alone because Arrays on this mimetype were allowed in the past as arrays of multiline strings (double encoded JSON...)"},"comment":{"url":"https://api.github.com/repos/nteract/commutable/issues/comments/254106585","html_url":"https://github.com/nteract/commutable/issues/50#issuecomment-254106585","issue_url":"https://api.github.com/repos/nteract/commutable/issues/50","id":254106585,"user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T03:47:39Z","updated_at":"2016-10-17T03:47:39Z","body":"@aleury This is that \"harder\" problem to solve in `commutable` to handle arrays on `application/json` and other JSON mimetypes. They currently have to deal with the ramifications of jupyter/nbformat#57, but I think we can pass through raw arrays as JSON here.\r\n\r\nIf you're interested, I can outline some approaches. You may end up having a better time tackling #51. Either way, I realize this code base is a bit hairier to approach. :smile:"}}
{"actor":{"display_login":"rgbkrk"}}