Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JSON TransformNew to Visual Studio Code? Get it now.
JSON Transform

JSON Transform

Pine Wu

|
24,899 installs
| (8) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON Transform for VSCode

Interactively transform JSON in VSCode.

Demo

Pattern

The transform pattern is very to learn. A few examples:

Original json:

[
    { "name": "ada", "age": 18 },
    { "name": "bob", "age": 19 },
    { "name": "cal", "age": 20 },
    { "name": "don", "age": 21 }
]

[1]

    { "name": "ada", "age": 18 }

[:2]

[
    { "name": "ada", "age": 18 },
    { "name": "bob", "age": 19 }
]

[:2].name

[
    "ada",
    "bob"
]

[:2].{ NickName: name }

[
  { "NickName": "ada" },
  { "NickName": "bob" }
]

To learn more about the patterns and try it interactively, go to JMESPath Tutorial.

License

MIT

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