A Visual Studio Code extension to convert the current editor selection from JSON to YAML, and vice versa.
After installation, you'll find two new commands in the Command Palette (F1
by default):
- Convert JSON to YAML
- Convert YAML to JSON
Uses js-yaml to do the actual conversion.