/vscode-json-partial-formatter

A VSCode extension to format JSON partials as JSON objects on paste

Primary LanguageTypeScript

JSON Partial Formatter

When pasting a partial from a JSON, such as a single line or property, into a JSON file, auto format it into a JSON object.

"foo": "bar",

If the contents of the pasted JSON is a JSON-encoded string, decode it into a full JSON object.

"foo": "{\"bar\":\"baz\"}"