The cost of parsing JSON

Published on

Interesting insights shared by the V8 team on the cost of parsing a JavaScript object literal versus a plain JSON string.

Because the JSON grammar is much simpler than JavaScript’s grammar, JSON can be parsed more efficiently than JavaScript. This knowledge can be applied to improve start-up performance for web apps that ship large JSON-like configuration object literals (such as inline Redux stores).

Read The cost of parsing JSON on