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.
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()