可扩展的json编码/解码库。
superjson的Python项目详细描述
……图片::https://readthedocs.org/projects/superjson/badge/?version=latest
:target:https://superjson.readthedocs.io/index.html
:alt:documentation status
。图片::https://travis-ci.org/machu-gwu/superjson-project.svg?branch=master
:目标:https://travis-ci.org/machu-gwu/superjson-project?分支=主
…图片::https://codecov.io/gh/machu gwu/superjson project/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/machu gwu/superjson project
…图片::https://img.shields.io/pypi/v/superjson.svg
:目标:https://pypi.python.org/pypi/superjson
…图片::https://img.shields.io/pypi/l/superjson.svg
:目标:https://pypi.python.org/pypi/superjson
…图片::https://img.shields.io/pypi/pyversions/superjson.svg
:目标:https://pypi.python.org/pypi/superjson
…图片::https://img.shields.io/pypi/dm/superjson.svg
:alt:pypi-下载
…图片::https://img.shields.io/badge/star_me_on_github!--没有.svg?style=social
:目标:https://github.com/machu gwu/superjson project
----
…图像::https://img.shields.io/badge/link document blue.svg
:目标:https://superjson.readthedocs.io/index.html
图片::https://img.shields.io/badge/link api blue.svg
:目标:https://superjson.readthedocs.io/py modindex.html
…图片::https://img.shields.io/badge/link-source_code-blue.svg
:目标:https://superjson.readthedocs.io/py modindex.html
…图片::https://img.shields.io/badge/link install blue.svg
:目标:`install`\br/>
…图片::https://img.shields.io/badge/link github blue.svg
:目标:https://github.com/machu gwu/superjson项目
…图片::https://img.shields.io/badge/link-submit_issue-blue.svg
:目标:https://github.com/machu-gwu/superjson project/issues
…图片::https://img.shields.io/badge/link-request-feature-blue.svg
:目标:https://github.com/machu-gwu/superjson project/issues
…图片::https://img.shields.io/badge/badge/linkdownl下载blue.svg
:目标:https://pypi.org/pypi/superjson文件
欢迎来到“superjson”文档
欢迎来到“superjson”文档
欢迎来到“superjson”文档
===============================================================================/>功能:
1.**支持**对``date``,``datetime`,``set`,``ordereddict`,``deque`,``pathlib.path`,``numpy.ndarray``,原来的``json<;https://docs.python.org/3/library/json.html>;``模块不能序列化。
2.**易于扩展以支持任何自定义数据类型**,`请参阅如何扩展`.
3。在json文件中允许使用`//double-slash-started comments``,````` pound-key-started comments``style**comment**(适合人/机可读配置文件)。
4.使用“`.gz`”作为文件扩展名,数据将被**自动压缩**。
5。**原子写是保证**,重写现有JSON文件的操作是原子的。
BR/>< BR/>点击这里为完整文档& lt;http://SujJSON.Read thord.OI/index,html & gt;'
。_安装:
install
——代码块::console
$pip安装superjson
以升级到最新版本:
…代码块::console
$pip install--升级superjson
:target:https://superjson.readthedocs.io/index.html
:alt:documentation status
。图片::https://travis-ci.org/machu-gwu/superjson-project.svg?branch=master
:目标:https://travis-ci.org/machu-gwu/superjson-project?分支=主
…图片::https://codecov.io/gh/machu gwu/superjson project/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/machu gwu/superjson project
…图片::https://img.shields.io/pypi/v/superjson.svg
:目标:https://pypi.python.org/pypi/superjson
…图片::https://img.shields.io/pypi/l/superjson.svg
:目标:https://pypi.python.org/pypi/superjson
…图片::https://img.shields.io/pypi/pyversions/superjson.svg
:目标:https://pypi.python.org/pypi/superjson
…图片::https://img.shields.io/pypi/dm/superjson.svg
:alt:pypi-下载
…图片::https://img.shields.io/badge/star_me_on_github!--没有.svg?style=social
:目标:https://github.com/machu gwu/superjson project
----
…图像::https://img.shields.io/badge/link document blue.svg
:目标:https://superjson.readthedocs.io/index.html
图片::https://img.shields.io/badge/link api blue.svg
:目标:https://superjson.readthedocs.io/py modindex.html
…图片::https://img.shields.io/badge/link-source_code-blue.svg
:目标:https://superjson.readthedocs.io/py modindex.html
…图片::https://img.shields.io/badge/link install blue.svg
:目标:`install`\br/>
…图片::https://img.shields.io/badge/link github blue.svg
:目标:https://github.com/machu gwu/superjson项目
…图片::https://img.shields.io/badge/link-submit_issue-blue.svg
:目标:https://github.com/machu-gwu/superjson project/issues
…图片::https://img.shields.io/badge/link-request-feature-blue.svg
:目标:https://github.com/machu-gwu/superjson project/issues
…图片::https://img.shields.io/badge/badge/linkdownl下载blue.svg
:目标:https://pypi.org/pypi/superjson文件
欢迎来到“superjson”文档
欢迎来到“superjson”文档
欢迎来到“superjson”文档
===============================================================================/>功能:
1.**支持**对``date``,``datetime`,``set`,``ordereddict`,``deque`,``pathlib.path`,``numpy.ndarray``,原来的``json<;https://docs.python.org/3/library/json.html>;``模块不能序列化。
2.**易于扩展以支持任何自定义数据类型**,`请参阅如何扩展`.
3。在json文件中允许使用`//double-slash-started comments``,````` pound-key-started comments``style**comment**(适合人/机可读配置文件)。
4.使用“`.gz`”作为文件扩展名,数据将被**自动压缩**。
5。**原子写是保证**,重写现有JSON文件的操作是原子的。
BR/>< BR/>点击这里为完整文档& lt;http://SujJSON.Read thord.OI/index,html & gt;'
。_安装:
install
——代码块::console
$pip安装superjson
以升级到最新版本:
…代码块::console
$pip install--升级superjson