https://github.com/pykit3/k3utfjson
force `json.dump` and `json.load` in `utf-8` encoding.
https://github.com/pykit3/k3utfjson
json python
Last synced: 4 months ago
JSON representation
force `json.dump` and `json.load` in `utf-8` encoding.
- Host: GitHub
- URL: https://github.com/pykit3/k3utfjson
- Owner: pykit3
- License: mit
- Created: 2021-08-10T03:41:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T15:22:33.000Z (over 3 years ago)
- Last Synced: 2024-08-10T23:24:33.000Z (almost 2 years ago)
- Topics: json, python
- Language: Python
- Homepage: https://blog.openacid.com
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k3utfjson
[](https://github.com/pykit3/k3utfjson/actions/workflows/python-package.yml)
[](https://k3utfjson.readthedocs.io/en/stable/?badge=stable)
[](https://pypi.org/project/k3utfjson)
force `json.dump` and `json.load` in `utf-8` encoding.
k3utfjson is a component of [pykit3] project: a python3 toolkit set.
# Name
utfjson: force `json.dump` and `json.load` in `utf-8` encoding.
# Status
This library is considered production ready.
# Install
```
pip install k3utfjson
```
# Synopsis
```python
import k3utfjson
k3utfjson.load('"hello"')
k3utfjson.dump({})
```
# Author
Zhang Yanpo (张炎泼)
# Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼)
[pykit3]: https://github.com/pykit3