A Python package to enable reading/writing of json files with comments
Project description
JSONC
Getting Started
To use JSONC, add the following import statement to your code
import jsonc
You can then use the four functions below to interact with your jsonc file and data
jsonc.load(file)
jsonc.loads(str)
jsonc.dumps(JSONCDict)
jsonc.dump(JSONCDict, file)
In addition, you can access the dictionary with stored comments by using
data_dict = JSONCDict()
data_dict.with_comments
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsoncparser-1.0.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for jsoncparser-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0d6c87a1db81936104833cfd91df68b294cfd3595efb507d5f45d025e75029b |
|
MD5 | f68268c6eb1c1951aca8dc57dbe38086 |
|
BLAKE2b-256 | 1ce02c62d96d91fa52453ed8e1c4078f317166c1e9017bc4b9168be7284afcc8 |