hjs, the missing bit of hjson
Project description
hjs is a thin wrapper around hjson
>>> from hjs import hjs, load, loads, dump, load
>>> da = loads("""
... {
... a: 1
... b: are you ok with it ?
... c: '''
... what a rest,
... isn't it ?
... '''
... t: {
... a: you get the point, now :-)
... },
... values: 42
... }
... """)
>>> assert da['values'] == 42
>>> assert da.t.a == "you get the point, now :-)"
install as usual with pip install hjs
By the way, you should support pypi, because, given the strategic importance of this project, it is way under budgeted, as I heard…
Regards, @CJC_2017.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hjs-1.1.7.tar.gz
(8.8 kB
view hashes)