Skip to main content

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


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)

Uploaded Source

Built Distribution

json_literal-1.1.0-py3-none-any.whl (1.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page