Skip to main content

This is how python package should look like!

Project description

eljson

EO principles respected here

Build Status codecov Python Version wemake-python-styleguide

This is how python package should look like!

Features

  • Object oriented work with JSON

Installation

pip install elson

Example

from elson.strict_json import StrictJson
from elson.json import JsonDoc

StrictJson.from_string(
    JsonDoc.from_string(
        '{"hello": {"world": "!"}}',
    ),
    """
    {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
            "hello": {
                "type": "object",
                "properties": {
                    "world": {"type": "string"}
                },
                "required": ["world"]
            }
        },
        "required": ["hello"]
    }
    """,
).path('$.hello.world')

License

MIT

Credits

This project was generated with wemake-python-package. Current template version is: a10c1e14ff468a4328dbe36a6b9a6a321d80da60. See what is updated since then.

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

eljson-0.0.1a1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

eljson-0.0.1a1-py3-none-any.whl (7.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