Live data from Hacker News

JSON Hero: Enhanced JSON structure visualization

jsonhero.io

151–160 of 203 posts

Re: JSON Hero: Enhanced JSON structure visualization

#153
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…

I worked at a $massive_tech_company_with_extreme_secrecy and using these tools was expressly forbidden because of the risk. Maybe one exists, but I would gladly pay $20 for a Mac app that could do all of this locally: like a Markdown Pro type app but for JSON formatting and validation. I want to simply open the app, paste in some json and have it format it to my requirements (spaces/tabs/pretty/etc.)

Re: JSON Hero: Enhanced JSON structure visualization

#154

Earlier quoted context omitted.

Would be nice to have the option to switch tabs into offline mode, just like we can mute them.

You can do that with Chrome dev tools: Network -> No throttling -> Offline Don't know how reliable this is though or whether a web developer could work around this.

It could be storing data and send it later when you visit the same origin from a different tab.

Unless you were also using incognito or throwaway tab containers to discard stored data.

Re: JSON Hero: Enhanced JSON structure visualization

#155

Earlier quoted context omitted.

Ouch, this is particularly egregious: "...To opt out, set the DOTNET_CLI_TELEMETRY_OPTOUT environment variable before you install the .NET SDK"

Just to be clear: that is to opt out of the single telemetry message sent by the installer itself on successful install, not to opt out of .NET telemetry in general. You can do that at any time post install by setting the env var, no need to remove and reinstall the entire SDK just to turn off telemetry.

It not being opt-in is the problem

Re: JSON Hero: Enhanced JSON structure visualization

#156

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…

I worked at a $massive_tech_company_with_extreme_secrecy and using these tools was expressly forbidden because of the risk. Maybe one exists, but I would gladly pay $20 for a Mac app that could do all of this locally: like a Markdown Pro type app but for JSON formatting and validation. I want to simply open the app, paste in some json and have it format it to my requirements (spaces/tabs/pretty/etc.)

I vaguely remember some tool that was just a collection of random tools like that running as local server (including a bunch of crypto primitives) but I can't remember the name now...

Re: JSON Hero: Enhanced JSON structure visualization

#157
post #46

Earlier quoted context omitted.

jsoncrack cannot even open the simpliest of my json files (600K: too large), whilst this handled it easily.

what is the use case for having 600K (lines? bytes?) JSON? I'm a bit shocked and curious at the same time :)

JSON logs would be obvious example here

Re: JSON Hero: Enhanced JSON structure visualization

#158

JSON is actually a really good format, I disagree with their premise "JSON sucks". Like, sure it's got some use cases it doesn't handle well, but overall there's a reason it won.

The reason it won is "most popular(and only) web language used it".

I'm not saying it's bad, I'm saying it didn't won on technical merits.

I do dislike people using them for configs tho, even indented the readability is just "okay", the ease of change is worse than YAML (even with all it's problem), especially forcing no trailing `,` is just plainly obnoxious.

Re: JSON Hero: Enhanced JSON structure visualization

#159

Earlier quoted context omitted.

> It's always strange to think that we went through formats like XML (and even earlier, XDR) before inventing something as seemingly simple and obvious as JSON. It's my understanding that JSON was not invented. It's just the necessary and sufficient parts of JavaScript to define data structures, and could be parsed/imported in a browser with a call to eval(). People who complain about JSON completely miss the whole p…

I don’t understand what you mean by JSON was not invented. It was invented by Douglas Crockford. Before he invented JSON, we used XML to pass data around the web. After he invented JSON, it took quite awhile to catch on. There were many years of transition where some web services would only send xml and others could send xml or json. Eventually all web services gave you the choice of which one it would send. And then…

> I don’t understand what you mean by JSON was not invented. It was invented by Douglas Crockford.

Douglas Crockford took his time to write up a specification for the JavaScript Object Notation (JSON).

That specification is, quite literally, "based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999."

It's in the name. There is no way around this.

MDN's doc on JavaScript's eval() vs JSON.parse() refer to JSON as "a subset of JavaScript syntax to represent data."

Claiming that someone discovered JSON makes as much sense as reading the C standard section on struct initialization and proceed to claim you discovered the C struct notation (CSN).

https://en.cppreference.com/w/c/language/struct_initializati...

Re: JSON Hero: Enhanced JSON structure visualization

#160

Earlier quoted context omitted.

Just to be clear: that is to opt out of the single telemetry message sent by the installer itself on successful install, not to opt out of .NET telemetry in general. You can do that at any time post install by setting the env var, no need to remove and reinstall the entire SDK just to turn off telemetry.

I still consider this fairly egregious in that if you've already installed it (but not used it) before finding this out; a bunch of details has already been reported about your environment. Does opting it before install also keep you opted out of all telemetry or does that have to be done separately? If a new starter did this on a company machine, boom, misconduct on their first day; though I hope the network/operati…

That flag opts out of all telemetry.
Post reply on HN