[ 源代码: json-tricks ]
软件包:python3-json-tricks(3.11.0-2)
Python module with extra features for JSON files
The json_tricks Python module provides extra features for handling JSON files from Python:
- 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 OrderedDict - Allow for comments in json files by starting lines with # - Sets, complex numbers, Decimal, Fraction, enums, compression, duplicate keys, ...