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
Hjson allows you to round-trip your data, including your comments.
But not yet with all implementations, PRs welcome :)
Unless I'm mistaken, hjson-py does not round-trip comments. Is there a plan to support it in the future?
I would gladly (try to) contribute a PR, so I had a look at the source. However it seems to me that such a feature would require a heavy refactoring of the data-structures involved, and possibly also of the parsing functions. Or did I miss something?
The text was updated successfully, but these errors were encountered:
No, I don't think hjson-py supports round-trip comments at the moment, and there isn't any active development on this feature. However, the JavaScript implementation does support round-trip comments.
According to the HJson FAQ:
Unless I'm mistaken,
hjson-py
does not round-trip comments. Is there a plan to support it in the future?I would gladly (try to) contribute a PR, so I had a look at the source. However it seems to me that such a feature would require a heavy refactoring of the data-structures involved, and possibly also of the parsing functions. Or did I miss something?
The text was updated successfully, but these errors were encountered: