Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>json-parseNew to Visual Studio Code? Get it now.
json-parse

json-parse

Jas Chen

|
3,296 installs
| (0) | Free
Syntax highlighting for JSON.parse(tagged template strings)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

json-parse

Adds syntax highlighting for JSON.parse(tagged template strings).

Why

JSON.parse approach is much faster compared to the JavaScript object literal, especially for cold loads. - The cost of JavaScript in 2019

const data = { foo: 42, bar: 1337 }; // 🐌
const data = JSON.parse('{"foo":42,"bar":1337}'); // 🚀

Demo

Before vs After

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft