Skip to content

Round-tripping comments? #16

Description

@pchampin

According to the HJson FAQ:

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions