Skip to main content

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"
    }
}

Metadata

Release files for json-literal 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for json-literal 1.1.0
File Size Uploaded
json_literal-1.1.0.tar.gz 1.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for json-literal 1.1.0
File Interpreter ABI Platform
json_literal-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.3 kB

Release files / json_literal-1.1.0.tar.gz

Download URL json_literal-1.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
aa4cb87dd8bf49e5a6654d5222d79c571c2754e2b22e9c1482d18a3be66ab742
BLAKE2b-256 checksum
How to use checksums
0460b56aea493473fc4d0051c62cfe302e896134eefd56fbbdedde90968dd9fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure

Release files / json_literal-1.1.0-py3-none-any.whl

Download URL json_literal-1.1.0-py3-none-any.whl
Size 1.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb42c2419f02d349144e21aaf52c9f5f9516936221bb73ad4258fafea094025e
BLAKE2b-256 checksum
How to use checksums
d619c427bc6b5d66d3644c1f5c5440a08500b941b486594848f69d6747c26621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page