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
It would be nice to have a way to preserve yaml comments perhaps invisibly cache them to a .yamljsoncache file whenever converting from yaml to json, so that when converting back the same element position before or after an element can receive the comment. There may not be anything on npm that does this, granted, and the method of either adding the comment to the element, when converting to json also keep an extension with .jsonc or something indicating comment support and including it inline // or multi-line /* */
The text was updated successfully, but these errors were encountered:
I see some initial issues in relation to saving a cache of the file and re-adding the comments, but will have a deeper look into it and see what is possible and makes most sense and then get back to you :-)
It would be nice to have a way to preserve yaml comments perhaps invisibly cache them to a
.yamljsoncache
file whenever converting from yaml to json, so that when converting back the same element position before or after an element can receive the comment. There may not be anything on npm that does this, granted, and the method of either adding the comment to the element, when converting to json also keep an extension with.jsonc
or something indicating comment support and including it inline//
or multi-line/* */
The text was updated successfully, but these errors were encountered: