Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>YAML to JSONNew to Visual Studio Code? Get it now.

YAML to JSON

ahebrank

|
41,108 installs
| (3) | Free
Convert YAML from clipboard or current document/selection to JSON and vice versa.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

YAML to JSON

Convert between YAML and JSON in the editor

marketplace installs

This extension makes two commands available:

  1. convert a selection / document in the open editor
  2. convert the content of the clipboard buffer.

These commands autodetect the input format, so if you have YAML in the clipboard, the convert clipboard command will output JSON.

Converting JSON to YAML

Adapted from https://github.com/buianhthang/vscode-xml2json/

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft