ports/devel/py-json_tricks/pkg-descr
Yuri Victorovich a73be82acc New port: devel/py-json_tricks: Extra features for Python's JSON: comments, order, datetimes, etc
While here, fixed a minor prdering problem in devel/Makefile
2018-03-24 05:57:43 +00:00

12 lines
522 B
Text

The pyjson-tricks package brings several pieces of functionality to python
handling of json files:
* Store and load numpy arrays in human-readable format.
* Store and load class instances both generic and customized.
* Store and load date/times as a dictionary (including timezone).
* Preserve map order {} using OrderedDict.
* Allow for comments in json files by starting lines with #.
* Sets, complex numbers, Decimal, Fraction, enums, compression,
duplicate keys, etc.
WWW: https://github.com/mverleg/pyjson_tricks