{"action":"created","issue":{"url":"https://api.github.com/repos/federomero/pretty-json/issues/14","repository_url":"https://api.github.com/repos/federomero/pretty-json","labels_url":"https://api.github.com/repos/federomero/pretty-json/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/federomero/pretty-json/issues/14/comments","events_url":"https://api.github.com/repos/federomero/pretty-json/issues/14/events","html_url":"https://github.com/federomero/pretty-json/issues/14","id":46085143,"number":14,"title":"Could we have another option to format the entire document?","user":{"login":"AdrianJMartin","id":1681191,"avatar_url":"https://avatars.githubusercontent.com/u/1681191?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianJMartin","html_url":"https://github.com/AdrianJMartin","followers_url":"https://api.github.com/users/AdrianJMartin/followers","following_url":"https://api.github.com/users/AdrianJMartin/following{/other_user}","gists_url":"https://api.github.com/users/AdrianJMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianJMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianJMartin/subscriptions","organizations_url":"https://api.github.com/users/AdrianJMartin/orgs","repos_url":"https://api.github.com/users/AdrianJMartin/repos","events_url":"https://api.github.com/users/AdrianJMartin/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianJMartin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-17T10:27:10Z","updated_at":"2016-06-06T00:15:21Z","closed_at":"2016-04-06T20:17:26Z","body":"Quite often I paste in a JSON dump, and forget to select all before attempting to prettify it!"},"comment":{"url":"https://api.github.com/repos/federomero/pretty-json/issues/comments/223846721","html_url":"https://github.com/federomero/pretty-json/issues/14#issuecomment-223846721","issue_url":"https://api.github.com/repos/federomero/pretty-json/issues/14","id":223846721,"user":{"login":"lexicalunit","id":1903876,"avatar_url":"https://avatars.githubusercontent.com/u/1903876?v=3","gravatar_id":"","url":"https://api.github.com/users/lexicalunit","html_url":"https://github.com/lexicalunit","followers_url":"https://api.github.com/users/lexicalunit/followers","following_url":"https://api.github.com/users/lexicalunit/following{/other_user}","gists_url":"https://api.github.com/users/lexicalunit/gists{/gist_id}","starred_url":"https://api.github.com/users/lexicalunit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexicalunit/subscriptions","organizations_url":"https://api.github.com/users/lexicalunit/orgs","repos_url":"https://api.github.com/users/lexicalunit/repos","events_url":"https://api.github.com/users/lexicalunit/events{/privacy}","received_events_url":"https://api.github.com/users/lexicalunit/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T00:15:21Z","updated_at":"2016-06-06T00:15:21Z","body":"I'm betting the issue is that the selected text isn't valid JSON data. Here's [a video showing me minifying selected example JSON data](https://youtu.be/ZG9smLewKFs) within a larger JSON file.\r\n\r\nThe selected text has to be parsed as complete and valid JSON data in order for the prettifier/minifier libraries to correctly process it. For example, in the video if I had selected the trailing `,` I would have got a warning notification indicating a JSON syntax error.\r\n\r\nCould you provide some example JSON data and indicate which parts you're selecting when the command isn't working? There could be a bug in the code that is causing the issue you're seeing and if I can re-create the bug on my machine I'm sure I can fix it for you :)"}}
{"actor":{"display_login":"lexicalunit"}}