可扩展的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



欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何向xsi:nil元素添加另一个属性?   Java抽象泛型方法,使用具体类型实现通配符   java使用pcap4j截断pcap文件   当我放置字母a、b和c时,java中的异常预期会下降   java设置活动对话框不可取消   接口类型变量上的Java克隆   使用Java或BouncyCastle对CSR(证书签名请求)进行安全解码/读取   java调用SavingsAccount对象上的函数并打印结果   java如何在Android应用程序上显示地图上的兴趣点(POI)并与之交互?   如果在JavaFX中的ResultSet中未找到任何内容,则显示java警报   java我将springboot和@component与@scheduled一起使用,它每12小时锁定一次   ApachePOI如何使用java删除包含字符串的word表的行   java如果对象(x,y)靠近其他对象(x,y)   从未对JMSException调用java JMS CachingConnectionFactory OneException方法   javascript使用java将HTML页面转换为MS word