2 ms·
> 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 prob
by Izkata 6y ago
> 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()
- jimmynest 6y agoI use https://jsonformatter.org/json-parser https://jsonformatter.org/json-parser sometime to parse json and to validate.