Live data from Hacker News

JSON Hero: Enhanced JSON structure visualization

jsonhero.io

21–30 of 203 posts

Re: JSON Hero: Enhanced JSON structure visualization

#21

Hahaha - I get this when opening it in an HN browser on my phone: TypeError: Cannot read properties of null (reading 'getItem') at u (https://jsonhero.io/build/_shared/chunk-LYGVB3WT.js:1:161) at https://jsonhero.io/build/_shared/chunk-LYGVB3WT.js:1:407 at Gf (https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:9:6560) at L.unstable_runWithPriority (https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:1:4026) at rn (h…

Same (WebView inside Materialistic). The worst part is everything loads correctly, then crashes. If I time it just right, I can press the stop loading button and read the page in its entirety (styled and everything). I've seen it happen once or twice before on near-identical landing pages (maybe one of them was a previous post of this).

It truly amazes me that anyone in their right mind would even consider writing the code that does this. This isn't something that "just happens" - someone intentionally wrote code to replace the whole page with an error message (probably a developer of some JS framework this site uses) and that's simply not acceptable. Even if this is a debug build (it obviously shouldn't be, but who knows), this behavior is insane.

Re: JSON Hero: Enhanced JSON structure visualization

#24
post #9

I'm not really clear on what the value-add is here. When is one needing to "visualise" JSON in this way, without editing it? Does it really help that much? Generally I just open in VS Code, reformat and use search etc.

I can think of one valuable use-case: parsing through JSON responses for APIs with poor fields/response documentation -- especially if you have to parse through a ton of information. Still way more readable than XML.

  > Still way more readable than XML.
AJAX should have been just AJ.

Re: JSON Hero: Enhanced JSON structure visualization

#25
post #8

Earlier quoted context omitted.

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…

Browsers should make it easier to interact with the command line then. I want to be able to run a command and it opens the result in a browser tab.

Every browser I've used supports passing a URL as an argument, and that URL is then opened.

Re: JSON Hero: Enhanced JSON structure visualization

#27
I need a JSON schema editor for macOS. I found this:

https://www.json-buddy.com/ but it's Windows only and has what I call a "millions of tiny buttons" UI.

JSON schema is awesome but it's really tedious to write by hand, even if the basic is auto-generated. It can also get really complex and thumbs up or down doesn't cut it for developer experience.

I want something where I can debug/step through the validation.

Post reply on HN