{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/1106","repository_url":"https://api.github.com/repos/jupyter/notebook","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/1106/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1106/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/1106/events","html_url":"https://github.com/jupyter/notebook/issues/1106","id":134595059,"number":1106,"title":"Support for editing JSON files","user":{"login":"maver1ck","id":4006010,"avatar_url":"https://avatars.githubusercontent.com/u/4006010?v=3","gravatar_id":"","url":"https://api.github.com/users/maver1ck","html_url":"https://github.com/maver1ck","followers_url":"https://api.github.com/users/maver1ck/followers","following_url":"https://api.github.com/users/maver1ck/following{/other_user}","gists_url":"https://api.github.com/users/maver1ck/gists{/gist_id}","starred_url":"https://api.github.com/users/maver1ck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maver1ck/subscriptions","organizations_url":"https://api.github.com/users/maver1ck/orgs","repos_url":"https://api.github.com/users/maver1ck/repos","events_url":"https://api.github.com/users/maver1ck/events{/privacy}","received_events_url":"https://api.github.com/users/maver1ck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T14:29:49Z","updated_at":"2016-02-18T14:32:35Z","closed_at":null,"body":"Hi,\r\nRight how, I'm unable to edit json file.\r\nWhen I choose one from Files panel new window with plain text appears.\r\n\r\nI'd like to have possibility to edit same like for txt files."},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/185746749","html_url":"https://github.com/jupyter/notebook/issues/1106#issuecomment-185746749","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1106","id":185746749,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T14:32:35Z","updated_at":"2016-02-18T14:32:35Z","body":"In the URL, changes `/files/` to `/edit/` and it should work. Unfortunately there isn't a reliable way to know whether something is a text file - IIRC, we check for a `text/*` mimetype, but json is under `application/`."}}