Readit News logoReadit News
rubyn00bie · 21 days ago
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.

My mind has been truly blown by this one.

jamesnorden · 21 days ago
What's crazier is that a lot of it is not even JSON, so it's not being formatted at all.
1-more · 21 days ago
one if you do `copy(JSON.stringify(data,{}, 2))`. A very useful tool when you need to get the auth token from here over to there!

Also if you are someone who needs JSON then install jq and do `pbpaste | jq . | pbcopy`.

koakuma-chan · 21 days ago
Is jq not pre installed?
jaredsohn · 21 days ago
Tried saving on jsonformatter right now and I see this:

"We are stopping save facility to prevent NSFW content and working on to make it better.

We understand this may be inconvenient, but we're taking proactive measures to ensure our platform remains safe and appropriate for all users. "

pavel_lishin · 21 days ago
JSONFormatter has disabled their "save" functionality, now, allegedly because of "NSFW" content.

I guess leaking your credentials is pretty unsafe for your work.

ThrowawayTestr · 22 days ago
I keep all my passwords in a text file on my desktop
RyanOD · 21 days ago
I make up all my passwords on the spot and never write them down. Every service I use has a different password I may or may not remember. If I need to reset it, so be it. I consider changing my passwords frequently a good thing. Yes, it slows me down from time to time, but whatever.

And for something I use every day like email, I just leave myself signed in on my main devices. But eventually that even gets reset...probably a few times a year.

Incipient · 21 days ago
keepassxc is a decent option too

Deleted Comment

Deleted Comment