| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A python implementation for TJSON: Tagged JSON with Rich Types.
Coming soon
To parse a TJSON document:
>> from pytjson import tjson
>> my_tjson = tjson()
>> my_tjson.parse('{"foo:s":"bar"}')
{'foo': 'bar'}The following describes how TJSON types map onto Python types during parsing:
To generate TJSON from Pytjon's objects, use the generate() method:
>> from pytjson.tjson import tjson
>> my_tjson = tjson()
>> my_tjson.generate({"foo" => "bar"})
{"foo:s:"bar"}| Back | FazBrowse Home | New Git URL |