You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, great work on visual-json β the schema-aware tree/form editing approach is really well done.
I've been building visual-yaml, a YAML counterpart inspired by this project. It follows a similar architecture (headless core + framework UI packages) but adds YAML-specific features:
Hey @ctate, thanks for the response! That's great to hear.
I've been working on a YAML adapter that follows the same architecture β the tree model is already format-agnostic, so it's really just about adding fromYaml/toYaml at the parse/serialize boundary.
I'll put together a PR with:
core/src/yaml.ts β fromYaml() and toYaml() adapters using the yaml library
Export from core/index.ts β so consumers can use both JSON and YAML
VS Code extension β add *.yaml/*.yml to file patterns with format detection
Tests β round-trip and edge cases (comments, multiline strings, anchors)
The operations layer (setValue, moveNode, etc.) stays completely untouched since it's already generic.
Kept it minimal β the tree model is already format-agnostic so it's just a thin adapter layer at the parse/serialize boundary. YAML schemas (Docker Compose, GitHub Actions, GitLab CI, etc.) are included too.
Activity
ctate commentedon Mar 17, 2026
Hey @lucianfialho - yes absolutely. visual-json is meant to handle any data structure format. JSON is just the most instantly recognizable π
lucianfialho commentedon Mar 18, 2026
Hey @ctate, thanks for the response! That's great to hear.
I've been working on a YAML adapter that follows the same architecture β the tree model is already format-agnostic, so it's really just about adding
fromYaml/toYamlat the parse/serialize boundary.I'll put together a PR with:
core/src/yaml.tsβfromYaml()andtoYaml()adapters using theyamllibrarycore/index.tsβ so consumers can use both JSON and YAML*.yaml/*.ymlto file patterns with format detectionThe operations layer (setValue, moveNode, etc.) stays completely untouched since it's already generic.
I'll have the PR up soon!
lucianfialho commentedon Mar 18, 2026
PR is up! β #29
Kept it minimal β the tree model is already format-agnostic so it's just a thin adapter layer at the parse/serialize boundary. YAML schemas (Docker Compose, GitHub Actions, GitLab CI, etc.) are included too.
Let me know if you'd like any changes.