2 ms·
Don't you have to worry about escaping a whole bunch of characters just in case something gets the wrong idea about what you have in a field? Yes, but you don'
by kelnos 15y ago
Don't you have to worry about escaping a whole bunch of characters just in case something gets the wrong idea about what you have in a field?
Yes, but you don't do it yourself. As the article mentions, pretty much every language you'd want to use has a JSON library. Use that, and (bugs aside) it'll take care of escaping for you.
- rachelbythebay 15y agoI sure hope everyone uses a library. What worries me is that it looks so simple, so someone might just glue together their own encoding and call it "done". A higher barrier to entry isn't always a bad thing.