vscode-json-to-js-object
vscode-json-to-js-object copied to clipboard
VSCode extension for converting JSON objects to JavaScript objects
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-casekeys tocamelCasekeys while converting the object
How To Use
- Select a valid JSON object in your editor (if nothing is selected then the whole file is checked)
- Choose
Convert JSON to JS Objectin 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.