This is wild. I figured it was going to be something about reusing password but no it’s just a treasure trove of secrets from folks formatting JSON and saving it to a public link. I can’t for the life of me understand why anyone would do this, I haven’t used a language which doesn’t have some sort of pretty print functionality built into the common/standard JSON library.
What’s crazier is everyone’s browser can do this with like a single line of code:
> JSON.stringify(data, null, 2)
I suppose it’s technically two lines if you assign the JSON to a variable (like ‘data’ above) first.
What’s crazier is everyone’s browser can do this with like a single line of code:
> JSON.stringify(data, null, 2)
I suppose it’s technically two lines if you assign the JSON to a variable (like ‘data’ above) first.
My mind has been truly blown by this one.