Live data from Hacker News

JSON Hero: Enhanced JSON structure visualization

jsonhero.io

61–70 of 203 posts

Re: JSON Hero: Enhanced JSON structure visualization

#62
post #36
post #33

Earlier quoted context omitted.

Completely agree. I could actually get a lot of use out of a tool like this, but the fact that even the VSCode extension sends the JSON to their servers and opens it at a publicly accessible URL makes this a no-go for me. I wouldn't recommend anyone use this for any remotely sensitive data.

the extension apparently can be configured to use a locally running instance of the server. But yes, by default it uses the remote version, and thus you post publicly the json, which may or may not be ideal depending on what you're doing.

"the extension apparently can be configured to use a locally running instance of the server" - well that sounds needlessly complicated, I mean, the code could be implemented directly in the extension (I know, that's probably easier than it sounds if you are trying to maintain both the extension and the online version with the same code base).

"you post publicly the json, which may or may not be ideal depending on what you're doing" - that's never ideal, it's just a smaller problem (if the JSON is publicly available anyway) or a much bigger problem (if it's sensitive personal data).

Re: JSON Hero: Enhanced JSON structure visualization

#63
post #51

Earlier quoted context omitted.

JSON is natively supported by many languages. I don't know of any language that supports YAML without a 3rd party library.

Hmm, for sure, personally I find it a very small price to pay for everything YAML offers, but I understand this is a matter of taste and judgement where reasonable people disagree, and that there are problem spaces/organizations where adopting dependencies is difficult/has a lot of red tape. Is it merely about the ecosystem? I'm curious if something about the language isn't meeting people's needs.

YAML is much too complex. I am never able to remember all the different ways of formatting text, for instance, and have to resort to cheat-sheet guides such as this all the time.

https://yaml-multiline.info/

The YAML spec is thousands of lines long (23k words, to be more exact). This is even longer than XML (20k words). JSON's spec is less than two thousand words. For a language that's supposed to be human-readable, YAML is maddeningly complex.

https://yaml.org/spec/1.2.2/

Plus, of course, you can execute arbitrary code with it. By design. AND it contains semantic whitespace, which is personally my least favourite innovation ever.

Re: JSON Hero: Enhanced JSON structure visualization

#64
post #31

My number one requirement for a tool like this is that the JSON content never leaves the machine it's on. I can only imagine the kind of personal information or proprietary internal data that has been unwittingly transmitted due to tools like this. If my objective was to gain the secrets of various worldwide entities, one of the first things I would do is set up seemingly innocent Pastebins, JSON checkers, online fil…

Personal requirements aside (I have the same requirements); just using this would constitute misconduct at the very least at my place of work. Yes it's a cool looking tool, but there are certslain requirements that ignorance doesn't exempt us from. My pet gripe is all of the seemingly local (open source) tools that phone home with opt-out metrics, not mentioned in the "getting started" and take some obscure flag to d…

> My pet gripe is all of the seemingly local (open source) tools that phone home with opt-out metrics, not mentioned in the "getting started" and take some obscure flag to disable and it's just that little bit more complex to do when running the defacto (containerised) build.

Exhibit A: DotNet! https://learn.microsoft.com/en-us/dotnet/core/tools/telemetr...

Re: JSON Hero: Enhanced JSON structure visualization

#65
post #42
post #39

Earlier quoted context omitted.

The fact that it needs a server at all seems unnecessary. It's all written in JavaScript, and isn't doing anything that couldn't be done in a browser, I see no reason why this can't be an entirely client-side application.

Processing multi-GB files in the browser is... fun. Doing that kind of thing on a server is easier. * I'm not justifying doing it on the server, especially for an application like this where yes: it can be done in the client.* But I do sympathize because I know from experience why it's easier to do it server-side, without any conspiracies. I wrote Papa Parse[0] about 10 years ago, and back then at least, it was extre…

Ok, I think I get what you're saying - this is a VS Code extension, but because VS Code is an Electron application, it's still "running in a browser"?

Re: JSON Hero: Enhanced JSON structure visualization

#66
post #64

Earlier quoted context omitted.

Personal requirements aside (I have the same requirements); just using this would constitute misconduct at the very least at my place of work. Yes it's a cool looking tool, but there are certslain requirements that ignorance doesn't exempt us from. My pet gripe is all of the seemingly local (open source) tools that phone home with opt-out metrics, not mentioned in the "getting started" and take some obscure flag to d…

> My pet gripe is all of the seemingly local (open source) tools that phone home with opt-out metrics, not mentioned in the "getting started" and take some obscure flag to disable and it's just that little bit more complex to do when running the defacto (containerised) build. Exhibit A: DotNet! https://learn.microsoft.com/en-us/dotnet/core/tools/telemetr...

Ouch, this is particularly egregious:

"...To opt out, set the DOTNET_CLI_TELEMETRY_OPTOUT environment variable before you install the .NET SDK"

Re: JSON Hero: Enhanced JSON structure visualization

#70
post #31

My number one requirement for a tool like this is that the JSON content never leaves the machine it's on. I can only imagine the kind of personal information or proprietary internal data that has been unwittingly transmitted due to tools like this. If my objective was to gain the secrets of various worldwide entities, one of the first things I would do is set up seemingly innocent Pastebins, JSON checkers, online fil…

No Dave, you can't upload this export-controlled document to this web tool. I don't care how convenient it is.
Post reply on HN