没有合适的资源?快使用搜索试试~ 我知道了~
commentjson:在JSON中添加JavaScript或Python样式注释
共52个文件
json:24个
py:19个
rst:3个
需积分: 47 2 下载量 118 浏览量
2021-05-26
08:54:07
上传
评论
收藏 29KB ZIP 举报
温馨提示
commentjson commentjson(Comment JSON)是一个Python软件包,可帮助您使用Python和JavaScript样式内联注释创建JSON文件。 它的API与Python标准库的模块非常相似。 安装 pip安装commentjson 基本用法 >> > import commentjson >> > >> > json_string = """{ ... "name": "Vaidik Kapoor", # Person's name ... "location": "Delhi, India", // Person's location ... ... # Section contains info about ... // person's appearance ... "appearance": { ...
资源推荐
资源详情
资源评论
收起资源包目录
commentjson-master.zip (52个子文件)
commentjson-master
setup.py 1KB
.gitignore 315B
commentjson
__init__.py 209B
commentjson.py 7KB
tests
inline_last_int-commented.json 178B
inline_last_quote-uncommented.json 17B
inline-commented.json 340B
__init__.py 0B
test_commentjson.py 5KB
string_with_hash-commented.json 171B
inline_has_special_characters-uncommented.json 372B
trailing_comma-uncommented.json 189B
sample-commented.json 467B
inline-uncommented.json 83B
array_with_hash-commented.json 233B
inline_last_float-commented.json 160B
sample-uncommented.json 216B
string_with_hash-uncommented.json 116B
trailing_comma-commented.json 374B
string_with_inline_comment-uncommented.json 282B
inline_has_special_characters-commented.json 468B
line_comment-commented.json 246B
inline_last_quote-commented.json 38B
array_with_hash-uncommented.json 152B
inline_last_int-uncommented.json 93B
nested_object-commented.json 430B
test_json
test_encode_basestring_ascii.py 571B
test_dump.py 276B
test_decode.py 2KB
test_unicode.py 839B
test_pass2.py 282B
test_pass3.py 282B
__init__.py 191B
test_separators.py 312B
test_float.py 395B
test_recursion.py 787B
test_indent.py 288B
test_pass1.py 282B
string_with_inline_comment-commented.json 450B
nested_object-uncommented.json 149B
inline_last_float-uncommented.json 97B
line_comment-uncommented.json 14B
requirements.txt 26B
Makefile 273B
LICENSE.rst 1KB
.travis.yml 855B
MANIFEST.in 14B
tools
bump-version.py 964B
README.rst 1KB
docs
Makefile 7KB
source
index.rst 3KB
conf.py 8KB
共 52 条
- 1
资源评论
文清的男友
- 粉丝: 26
- 资源: 4654
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功