Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>JSON Recursive ExpanderNew to Visual Studio Code? Get it now.
JSON Recursive Expander

JSON Recursive Expander

vincentzlt

|
10 installs
| (0) | Free
Recursively expand nested JSON/Python dict strings into proper JSON objects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON Recursive Expander

Recursively expand nested JSON/Python dict strings into proper JSON objects.

Features

  • 🔄 Recursive Expansion: Automatically expands nested JSON strings at any depth
  • 🐍 Python Dict Support: Handles Python dict format with single quotes
  • ⚡ Multiple Commands: Expand file, selection, or clipboard
  • ⚙️ Configurable: Customize parsing behavior and output format

Usage

Commands

Command Shortcut Description
Expand JSON Recursively Ctrl+Alt+J Expand entire file
Expand Selected JSON Ctrl+Alt+Shift+J Expand selection
Expand JSON to New File - Open result in new tab
Expand JSON from Clipboard - Expand clipboard content

Example

Before:

{
  "key": "value",
  "nested": "{\"inner\": \"data\"}"
}

After:

{
  "key": "value",
  "nested": {
    "inner": "data"
  }
}

Extension Settings

Setting Default Description
parseJson true Parse standard JSON strings
parsePythonDict true Parse Python dict strings
maxDepth 100 Maximum recursion depth
expandArrays true Expand strings in arrays
indentSize 2 Output indentation

License

MIT

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