3 ms·
This can be seen as a form of tokenization, where the JSON objects are trees of tokens. But that said, a more apt comparison is going from text to JSON in the
by duped 5y ago
This can be seen as a form of tokenization, where the JSON objects are trees of tokens.
But that said, a more apt comparison is going from text to JSON in the first place (which is not trivial to do fast, and has issues when it comes to stream parsing).
There are enormous advantages to using JSON for storing structured application data though, mostly so you don't have to worry about writing a parser for it.