Conversation
nickrolfe
force-pushed
the
nickrolfe/model-editor-json
branch
from
October 2, 2026 16:09
f1be112 to
c2e2ac2
Compare
This will allow us, for example, to switch to JSON as the default format while keeping existing YAML files as YAML. JSON (de)serialization is currently stubbed out, and will be implemented in a follow-up commit.
nickrolfe
force-pushed
the
nickrolfe/model-editor-json
branch
from
October 2, 2026 16:19
c2e2ac2 to
8d067e1
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support to the model editor for loading JSON-formatted data extensions, in addition to the existing YAML format. When saving and overwriting existing extensions, it will preserve the file's existing format.
For now, new files will still be saved as YAML. We can change the definition of
DEFAULT_EXTENSION_FORMAT_FOR_NEW_FILESto switch to JSON when we're ready.I have done some manual testing: