Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>JSON to JS ObjectNew to Visual Studio Code? Get it now.
JSON to JS Object

JSON to JS Object

Sallar Kaboli

|
19,555 installs
| (1) | Free
Convert a JSON Object to Javascript Object
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Extension: JSON to JS Object

This extension converts a JSON object to JavaScript object in Visual Studio Code.

Install

This extension is available for free in the Visual Studio Code Marketplace.

ext install json-to-js-object

Features

  • Converts JSON Object to JavaScript Object
  • Converts snake-case keys to camelCase keys while converting the object

How To Use

  1. Select a valid JSON object in your editor (if nothing is selected then the whole file is checked)
  2. Choose Convert JSON to JS Object in the command palette (Cmt/Ctrl+Shift+P)

Keyboard Shortcut

This extension does not define any keyboard shortcuts by default. However if you need one, you can use the jsonToJSObject.convert command to define your own shortcut.

License

This extension is released under the MIT License.

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