Aestate Framework for Python,You can see:https://gitee.com/canotf/aestate
Project description
Aestate-Json 一款强大的json解析器
介绍
从 Aestate Framework分离出来的Json解析器,其强大程度可以让你无限套娃。
功能:将object对象转换成Json字符串的形式。为达到能够像mybatis这样的神仙级操作我一直在不断地努力, 也有很多的不足之处 , 希望各位多多提问题,我会认真看完每一个issues
安装
pip 命令:pip install aestate-json
anaconda 安装:conda install aestate-json
使用教程
与原版的教程一致,你可以使用
from ajson.ajson import Json
# 加载json字符串为dict字典格式
Json.loads()
# 加载数据为json字符串
Json.dumps()
拓展的方法:
from ajson import aj
# 将任意对象转换成json字符串
a = aj.parse(obj='任意对象', bf='是否美化json', end_load='是否转成json后再转为dict字典')
# 将json字符串转字典
a = aj.load(a)
使用示例的代码你会发现,这个工具类可以无限套娃
CACode Development Team
Last edit time:2021/06/01 05:30 Asia/Shanghai
👉 Go to canotf`s homepage on Gitee 👈
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aestate-json-1.0.3.tar.gz.
File metadata
- Download URL: aestate-json-1.0.3.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9fddce69c7d466ce6701f86e5463829451c7d80936ec4d733061a40961da815
|
|
| MD5 |
cbfcd9b41cc4f28002e16e588db5cbc7
|
|
| BLAKE2b-256 |
2d5d859f9dbd9afdb6feaa92ded6f23001d27a8358a18859978983ad5af18bf4
|
File details
Details for the file aestate_json-1.0.3-py3-none-any.whl.
File metadata
- Download URL: aestate_json-1.0.3-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be41fd0ebc474685fa742a8c2b795188184ae68eea38afc1a8ece7bcd1d33108
|
|
| MD5 |
17cb1adf416253e12affa5fca07c16dd
|
|
| BLAKE2b-256 |
fe142fd352084419f4f45493cd6c564fe574f1605614746eb6e6883eea308ccc
|