News for hackers. Stuff that matters.
Re:Never use a dependency that you could replace with an aft... by Izkata on Tuesday August 11, 2020 @11:38PM (#24128388)
> Maybe a JS snippet.

While acceptable, also misleading: JS only does string keys, but unlike JSON it'll convert whatever it's given into strings. Not a problem most of the time, since it'll do the same conversion for both accessing and setting, but good to be aware of if you're doing something like iterating Object.keys()

Re:Never use a dependency that you could replace with an aft... by jimmynest on Wednesday August 12, 2020 @12:14PM (#24133530)
I use https://jsonformatter.org/json-parser sometime to parse json and to validate.