The arrays are not presented correctly. Each element in the array points to the parent, rather than being grouped together. Ditto for Objects (key/value pairs).
Since JSON is just a simple tree structure without cycles, the JSON "visualization" doesn't buy you much that indented text formatting can't already give you.
Note: when browsing on mobile it isn't obvious that there are examples, the tweet from github isnt obvious that it is an example and the interactive graph doesnt look like one because it zooms into blank space
although I have a desktop and do development there, my interest in a new tool is frequently is sparked by my casual browsing on mobile, there might be (many) others like me
Once I was working with an api that used mongodb in the back. Mongo uses very large integers as ids and I was looking at the json generated through a json viewer extension in the browser. I was having problems because I couldn't find the document I was looking at in the database.
Turns out, the viewer used the browser's JSON.parse and that was converting the id to a number and losing precision since it was so large.
Ever since, I prefer to look at json raw first and then use formatters just to look at the shape, not the data.
Personally I've never had a problem reading through json, I mean its designed that way to be flat and simple, but this could be brilliant for documentation, even auto updating with some schema changes etc.
Ideally this is something that could run locally but it looks great thank you!
I wish these kind of projects would show up when searching "Online JSON visualization". Current SEO logic means that website like this have pretty much no chance of making it. Would love to be proven wrong though!
I am curious, who needs to visualise these datas? What I am interested in is validation. it's the same as with XML, or any transitional data formats, if I need to fix something I work on a specific set of the data and make sure that it is valid. If it is not I fix it. If I want to visualize data I use it at the endpoints, ie. in Excel or in PowerBI.
this might be a good place to ask: is there any tool out there that can help with json to normalised tables?
I know that many databases can store json, but i often have api's that i would like storing in tables, and feel that 'splitting it out' should be fairly trivial.
Each time i think about making a tool, i am put off by the fact that there is a voice saying 'someone will have done this, in a much better way than you!' :-)
EDIT:
Ignore that, i did that think where i didn't look at the link - this pretty much does what i would need
If you have an MS office suite the power query editor can expand JSON to columns. Doesn't result in a table that is normalized per se, but it is quite a powerful tool overall. Not really a Microsoft fan, but what they provide here is not bad at all.
The button leads to the editor page which you can acces from the main navigation, it’s weird that the button is disabled on mobile while the editor works fine.
There's a -><- Collapse nodes | Expand Nodes toggle on the RHS vertical toolbar of the web visual editor.
Still appears to be a slight issue with very large nodes (because of very long lines as values) scaling out of the view and being tricky to navigate into view again.
Still a handy tool for certain JSON structures for that first overview.
This is pretty awesome. I wonder how this scales. Like if I wanted to visualize a graph with millions of nodes, would it make sense to copy a whole JSON blob into it?
One of my side projects is called GraphJSON (https://graphjson.com), where we took the opposite approach. Log events (kind of like nodes in your graph) in a segment/mixpanel/amplitude way and then use SQL to stitch these events together. Currently it just does basic visualizations like lines and tables, but it'd be awesome to do the flow charts you've created. Perhaps there's opportunity for partnership?
Having an extra box for nested fields is somewhat annoying and space wasting, I think. Can that be switched on/off? From a drawing perspective it is easier, but it seems it should be possible to do away with the extra box.
I've been looking for something visual like this that can generate JSON Schemas. You would be able to visit any "node", right-click, and specify the constraints you're looking to add to the schema...
Looks like a cool project and I love that it is open source.
But naming a graph visualization tool using the same word as the Microsoft Flowchart visualization tool would make me somewhat nervous since it can cause "brand confusion." Granted I can't find a trademark listed for Visio specifically (maybe the name is too generic) so may be all good.
[+] [-] geokon|3 years ago|reply
PS: Does anyone knows if there was an emacs mode that'd do this for me automagically?
[+] [-] coenhyde|3 years ago|reply
[+] [-] dotancohen|3 years ago|reply
[+] [-] nerdponx|3 years ago|reply
[+] [-] sn9|3 years ago|reply
[+] [-] bboozzoo|3 years ago|reply
[+] [-] KevinEldon|3 years ago|reply
[1] https://plantuml.com/json
[+] [-] wartijn_|3 years ago|reply
https://github.com/AykutSarac/jsonvisio.com
[+] [-] blooalien|3 years ago|reply
[+] [-] lloydatkinson|3 years ago|reply
[+] [-] 867-5309|3 years ago|reply
[+] [-] Manfred|3 years ago|reply
[+] [-] wartijn_|3 years ago|reply
https://github.com/AykutSarac/jsonvisio.com
[+] [-] spinaker|3 years ago|reply
Since JSON is just a simple tree structure without cycles, the JSON "visualization" doesn't buy you much that indented text formatting can't already give you.
[+] [-] yieldcrv|3 years ago|reply
although I have a desktop and do development there, my interest in a new tool is frequently is sparked by my casual browsing on mobile, there might be (many) others like me
[+] [-] clementmas|3 years ago|reply
[+] [-] wruza|3 years ago|reply
[+] [-] hiccuphippo|3 years ago|reply
[+] [-] medv|3 years ago|reply
[+] [-] techthumb|3 years ago|reply
[+] [-] bilekas|3 years ago|reply
Super useful for me in that way so thanks!
[+] [-] cerved|3 years ago|reply
[+] [-] elbajo|3 years ago|reply
I wish these kind of projects would show up when searching "Online JSON visualization". Current SEO logic means that website like this have pretty much no chance of making it. Would love to be proven wrong though!
[+] [-] loxias|3 years ago|reply
[+] [-] Frajedo|3 years ago|reply
[+] [-] unknown|3 years ago|reply
[deleted]
[+] [-] mutant|3 years ago|reply
https://jsonhero.io
[+] [-] makach|3 years ago|reply
[+] [-] youngNed|3 years ago|reply
I know that many databases can store json, but i often have api's that i would like storing in tables, and feel that 'splitting it out' should be fairly trivial.
Each time i think about making a tool, i am put off by the fact that there is a voice saying 'someone will have done this, in a much better way than you!' :-)
EDIT:
Ignore that, i did that think where i didn't look at the link - this pretty much does what i would need
[+] [-] simonw|3 years ago|reply
It can also be used to run SQL queries against an in-memory database created from one or more JSON or CSV imports: https://simonwillison.net/2021/Jun/19/sqlite-utils-memory/
[+] [-] raxxorraxor|3 years ago|reply
[+] [-] awild|3 years ago|reply
[+] [-] afandian|3 years ago|reply
[+] [-] kurishutofu|3 years ago|reply
[+] [-] exabyte|3 years ago|reply
[+] [-] ssalka|3 years ago|reply
[+] [-] andrew_|3 years ago|reply
[+] [-] defrost|3 years ago|reply
Slight quibble, JSON with large value fields (eg: 4K text as a single line) blow out the containing box dimensions in the web visualiser.
Maybe there's a flag to clip | wrap such values, if so I missed ny option to toggle it.
( I used MediaInfoCLI --output=JSON on some multitrack files from handbrake, the encode argument flags are a single large value )
[+] [-] defrost|3 years ago|reply
There's a -><- Collapse nodes | Expand Nodes toggle on the RHS vertical toolbar of the web visual editor.
Still appears to be a slight issue with very large nodes (because of very long lines as values) scaling out of the view and being tricky to navigate into view again.
Still a handy tool for certain JSON structures for that first overview.
[+] [-] flurly|3 years ago|reply
One of my side projects is called GraphJSON (https://graphjson.com), where we took the opposite approach. Log events (kind of like nodes in your graph) in a segment/mixpanel/amplitude way and then use SQL to stitch these events together. Currently it just does basic visualizations like lines and tables, but it'd be awesome to do the flow charts you've created. Perhaps there's opportunity for partnership?
[+] [-] auggierose|3 years ago|reply
[+] [-] loxias|3 years ago|reply
[+] [-] anonu|3 years ago|reply
[+] [-] throwaway2016a|3 years ago|reply
But naming a graph visualization tool using the same word as the Microsoft Flowchart visualization tool would make me somewhat nervous since it can cause "brand confusion." Granted I can't find a trademark listed for Visio specifically (maybe the name is too generic) so may be all good.