The Computer Oracle

Json viewer for mac

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Ancient Construction

--

Chapters
00:00 Json Viewer For Mac
00:08 Accepted Answer Score 4
00:32 Answer 2 Score 2
00:43 Answer 3 Score 1
01:06 Answer 4 Score 1
01:17 Answer 5 Score 1
01:27 Thank you

--

Full question
https://superuser.com/questions/191522/j...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos

#avk47



ACCEPTED ANSWER

Score 4


You could use this add-on for Firefox : JSONView

Normally when encountering a JSON document (content type "application/json"), Firefox simply prompts you to download the file. With the JSONView extension, JSON documents are shown in the browser similar to how XML documents are shown. The document is formatted, highlighted, and arrays and objects can be collapsed. Even if the JSON document contains errors, JSONView will still show the raw text.




ANSWER 2

Score 2


jsonpretty for pretty-printing JSON at the command line.

sudo gem install jsonpretty



ANSWER 3

Score 1


If all you need is to be able to paste in text and see it prettily formatted with some basic "roll-up" functionality, try https://jsonformatter.org/json-parser.

Update: While trying out Olivier's new beta I responded to a feedback prompt, noting the lack of "roll-up" behavior for unnamed objects and arrays. He emailed me the next morning to say that he'd gone ahead and implemented that right away. Awesome!




ANSWER 4

Score 1


You can use Jason as an offline app: http://www.macupdate.com/app/mac/35588/jason




ANSWER 5

Score 1


If you want a JSON QuickLook viewer integrated into the Finder, you can try quick look JSON.