https://github.com/tim232/hjson
A package for handling json files
https://github.com/tim232/hjson
Last synced: about 1 year ago
JSON representation
A package for handling json files
- Host: GitHub
- URL: https://github.com/tim232/hjson
- Owner: Tim232
- License: gpl-3.0
- Created: 2020-11-27T15:49:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-06T07:04:34.000Z (over 5 years ago)
- Last Synced: 2025-04-13T05:54:29.033Z (about 1 year ago)
- Language: Python
- Homepage: https://pypi.org/project/py-hJson
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hJson
A package for handling json files
`pip install py-hJson`
Example :
```python
import hJson
data = hJson.load('example.json')
print(data)
print()
data['test'] = 100
data = hJson.save('example.json', data)
print(data)
print()
check = hJson.check('example.json')
print(check)
```
Output :
```
{
'test' : 0
}
{
'test' : 100
}
True
```