hjson-py
hjson-py copied to clipboard
Hjson for Python
This hjson: { test: 1.0 } turns into {test: 1} after hjson.loads(). A type() call says it is an int. Maybe this is the wanted behavior? I just expected something...
This allows for comments to be kept and dumped back into file. **Currently supports:** `/* Block comments over multiple lines */` `// Single line comments` `# Single line hash comments`...
This allows single and double quoted strings to continue on the next line by escaped `\n` or `\r\n`, as described in hjson/hjson#106.
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...
When I write some info such as ```py contact_info: { name: Isabella contact_card_url: https://something.org/whatever } ``` if I try to append to this the hjson parser interprets this :// as...
json can deal with dumping float('nan') to NaN and vice versa which I don't believe is supported in hjson (get converted to strings). Are there any plans to implement this...
```shell DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support...
Consider tagging the latest release. Since pypi source doesn't have the test assets, it's difficult for downstream distros to run the tests without a tagged source tarball from github.