Robin van der Vleuten

The cost of parsing JSON

link

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).
Keep reading The cost of parsing JSON(v8.dev)
← Older post
Going epic with Redux Observable tests