Live data from Hacker News

JSON Hero: Enhanced JSON structure visualization

jsonhero.io

1–10 of 203 posts

Re: JSON Hero: Enhanced JSON structure visualization

#3
How far from WSDLs and SOAP we’ve come.

I applaud this effort. I hate that we’re back to where this feels necessary. I’m not sure if there’s anything better.

JSON sure felt better than XML. But did we abstract too far, or did we just get so much better bandwidth and processors, that enriched data exploration is just insignificantly possible?

I read the use-cases for this, but I feel like: if you’ve gone so far to where this is helpful/useful, have you just gone too far?

Re: JSON Hero: Enhanced JSON structure visualization

#6
See also jsoncrack [1] which visualises JSON as n-ary tree data-structures.

This project takes a different approach, in that it handles the displaying of JSON node leaf data in a more human way. E.g for hex colours showing a colour picker or a date picker for dates.

What sets this tool apart however is the static analysis of the JSON data, which in doing so can uncover divergences or outliers in the data. E.g a single null value somewhere, or supposedly data which deviates from the majority data-type (i.e a number where every other value is a string).

I think there's value proposition in just edge case detection. Datasets can be massive, with something like JSON there exists no formal type verification. Although to be honest, I don't see a valid reason to use JSON as a backend given graph based databases with type-safe schemas exist.

1: https://news.ycombinator.com/item?id=32626873

Re: JSON Hero: Enhanced JSON structure visualization

#7
post #5

I like it, but don't love that it's a web app. I guess I could fork it myself, but don't particularly want to have to run a web app to browser JSON either. I wonder how easy it would be to port to Electron.

They have a VS Code extension.

https://marketplace.visualstudio.com/items?itemName=JSONHero...

Re: JSON Hero: Enhanced JSON structure visualization

#8
post #5

I like it, but don't love that it's a web app. I guess I could fork it myself, but don't particularly want to have to run a web app to browser JSON either. I wonder how easy it would be to port to Electron.

Forking perfectly functional browser-based web app into Electron apps is an irritating trend with very limited benefits. Some apps exist as Electron apps because they require native OS access, this app does not, therefore there is no reason to do so.

Porting to Electron would be trivial but in doing so you incur the following ramifications:

- the user has yet another instance of Chromium running on their device.

- they can't interact with browser based UIs easily any longer (bookmarking, retaining in history, copying the URL, different cookie/login jars, etc...).

- might fragment the users workflow even more if they have to interleave between electron apps and their browser

- lack of user extensions and some important accessibility features

In Chrome you can create a shortcut for the page and select "open in a new window" which by-in-large emulates the workflow you request. I'm sure there's a similar process for Firefox.

Re: JSON Hero: Enhanced JSON structure visualization

#10
post #8
post #5

I like it, but don't love that it's a web app. I guess I could fork it myself, but don't particularly want to have to run a web app to browser JSON either. I wonder how easy it would be to port to Electron.

Forking perfectly functional browser-based web app into Electron apps is an irritating trend with very limited benefits. Some apps exist as Electron apps because they require native OS access, this app does not, therefore there is no reason to do so. Porting to Electron would be trivial but in doing so you incur the following ramifications: - the user has yet another instance of Chromium running on their device. - th…

I think at least forking and hosting it yourself if a good middle ground between forking into an Electron app.

Who wants a tool they rely on to one day update with spyware, HTTP 404, or filled with ads (like Toptal did with keycode.info)?

Post reply on HN