json_tricks
Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
To install this package, run one of the following:
The pyjson-tricks package brings several pieces of functionality to python handling of json files: (1) store and load numpy arrays in human-readable format; (2) store and load class instances both generic and customized; (3) store and load date/times as a dictionary (including timezone); (4) preserve map order {} using OrderedDict; (5) allow for comments in json files by starting lines with #; (6) sets, complex numbers, decimal, fraction, enums, compression, duplicate keys, etc. As well as compression and disallowing duplicate keys.
Summary
Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
Information Last Updated
Apr 22, 2025 at 14:56
License
BSD-3-Clause
Total Downloads
169.7K
Platforms
GitHub Repository
https://github.com/mverleg/pyjson_tricksDocumentation
http://json-tricks.readthedocs.io/en/latest/