Skip to main content

Library to help parsing broken and invalid JSON.

Project description

parse_broken_json

Small lib to help parsing broken or invalid JSONs

It only consists of one function:

parse_broken_json(text: str, allowed_keys: list[str]) -> Any:

text is the json to be parsed, allowed_keys are the keys allowed on the JSON nodes.

Internally, this library uses the interpreter pattern.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

parse_broken_json-0.2-py3-none-any.whl (3.9 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