An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# k3utfjson

[![Action-CI](https://github.com/pykit3/k3utfjson/actions/workflows/python-package.yml/badge.svg)](https://github.com/pykit3/k3utfjson/actions/workflows/python-package.yml)
[![Documentation Status](https://readthedocs.org/projects/k3utfjson/badge/?version=stable)](https://k3utfjson.readthedocs.io/en/stable/?badge=stable)
[![Package](https://img.shields.io/pypi/pyversions/k3utfjson)](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