Definition of literal values for compatibility with JSON data.
Project description
Use JSON literal on Python code
By importing this package in wildcard, JSON data can be handled directly in Python code.
Install
pip install json-literal
Usage
from json_literal import *
data = {
"a": 1,
"b": true,
"c": false,
"d": null,
"e": [1,2,3],
"f": {
"g": "h"
}
}
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
json_literal-1.1.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for json_literal-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb42c2419f02d349144e21aaf52c9f5f9516936221bb73ad4258fafea094025e |
|
MD5 | 0e7e728e276ac5202004cd6dfc9c26f8 |
|
BLAKE2b-256 | d619c427bc6b5d66d3644c1f5c5440a08500b941b486594848f69d6747c26621 |