A powerful VS Code extension that seamlessly converts between JSONL, JSON, and YAML formats. This tool bridges the gap between different data serialization formats, making it easier to work with logs, configuration files, and data dumps.
Features
JSONL to YAML: Convert JSON Lines (newline-delimited JSON) to readable YAML format.
JSON to YAML: Convert standard JSON files or selections to YAML.
YAML to JSON: Convert YAML files or selections to JSON format.
Pretty JSON: Format JSON with indentation for better readability.
Minify JSON: Compress JSON by removing whitespace.
Smart Selection: Works on selected text or the entire document if nothing is selected.
Usage
Converting JSONL to YAML
Open a file containing JSONL data.
(Optional) Select specific lines to convert.
Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P).
Run command: Convert JSONL to YAML.
Converting JSON to YAML
Open a JSON file.
(Optional) Select the JSON object/array.
Open Command Palette.
Run command: Convert JSON to YAML.
Converting YAML to JSON
Open a YAML file.
(Optional) Select the YAML content.
Open Command Palette.
Run command: Convert YAML to JSON.
Formatting JSON
Open a JSON file.
(Optional) Select the JSON content.
Open Command Palette.
Run command: Pretty JSON (to format) or Minify JSON (to compress).