【文件属性】:
文件名称:jsoncut:JSON检查和修剪工具
文件大小:75KB
文件格式:ZIP
更新时间:2021-05-17 09:53:42
Python
JSON剪切示例
JSON检查和修剪工具。
将JSON Cut与地震数据结合使用的示例。
从pandas.io.json.json_normalize寻找更好的结果? 此示例演示如何使用jsoncut为更干净,更小的DataFrames准备JSON:
仅Python 3支持; Python 2当前不支持jsoncut 。
$ jsoncut --help
Usage: cli.py [OPTIONS] [JSONFILE]
Quickly select or filter out properties in a JSON document.
Options:
-r, --root TEXT Set the root of the JSON document.
-g, --get TEXT Get JSON
【文件预览】:
jsoncut-master
----README.rst(12KB)
----CONTRIBUTING.rst(2KB)
----jsoncut()
--------exceptions.py(7KB)
--------tokenizer.py(5KB)
--------treecrawler.py(2KB)
--------highlighter.py(1KB)
--------__init__.py(981B)
--------cli.py(6KB)
--------sequencer.py(2KB)
--------core.py(18KB)
--------inspector.py(6KB)
----requirements.txt(52B)
----AUTHORS.rst(326B)
----examples()
--------jsoncut_ETL_example.ipynb(30KB)
--------fake_mc.py(5KB)
--------LICENSE.md(1KB)
--------README.md(569B)
--------contacts.json(275KB)
--------jsoncut_example.py(216B)
----LICENSE(2KB)
----setup.py(580B)
----CHANGES.rst(216B)
----docs()
--------source()
----tests()
--------test_core.py(978B)
--------sample_data()
--------__init__.py(0B)
--------pytest.ini(82B)
--------test_cut.py(978B)
--------test_keys.py(1KB)
----.gitignore(23B)