microsoft/node-jsonc-parser

Feature request: `modify` and `applyEdits` on parsed AST

Opened this issue · 0 comments

I'm trying to keep a JSON datastructure in sync with its text representation for a custom VS Code editor.

I was thinking maybe it'd make sense to directly apply edit operations on the parsed tree rather than reparsing JSON every time?