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 details)
Built Distribution
File details
Details for the file json_literal-1.1.0.tar.gz
.
File metadata
- Download URL: json_literal-1.1.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa4cb87dd8bf49e5a6654d5222d79c571c2754e2b22e9c1482d18a3be66ab742 |
|
MD5 | c3ade5f63b9d724c04c9d5ed4f0c515c |
|
BLAKE2b-256 | 0460b56aea493473fc4d0051c62cfe302e896134eefd56fbbdedde90968dd9fd |
File details
Details for the file json_literal-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: json_literal-1.1.0-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb42c2419f02d349144e21aaf52c9f5f9516936221bb73ad4258fafea094025e |
|
MD5 | 0e7e728e276ac5202004cd6dfc9c26f8 |
|
BLAKE2b-256 | d619c427bc6b5d66d3644c1f5c5440a08500b941b486594848f69d6747c26621 |