force `json.dump` and `json.load` in `utf-8` encoding.
Project description
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
import k3utfjson
k3utfjson.load('"hello"')
k3utfjson.dump({})
Author
Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com
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
k3utfjson-0.1.1.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file k3utfjson-0.1.1.tar.gz
.
File metadata
- Download URL: k3utfjson-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00d0b6941e0ead4f03d793193e46a12c9058c20fe6f5e0a9f9750d8ab2f1b66 |
|
MD5 | c9003792b41800e1ab38ad4be23ac729 |
|
BLAKE2b-256 | 8f7d32f5733f00e1f463b1a3b15e27254cd3493bb639e2ac41c17f1351e23692 |
File details
Details for the file k3utfjson-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: k3utfjson-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71249587375f6941f0a097b2f4db3ebb3ae14733db5e611383b820467d681365 |
|
MD5 | c4330a47c70486b07ba564904bee4a6d |
|
BLAKE2b-256 | 840b5002f1a98173850a04fd81448daafb9619e268f2d52921e41ce40bb6fcac |