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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file parse_broken_json-0.2-py3-none-any.whl
.
File metadata
- Download URL: parse_broken_json-0.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d7fb7942e1d82347f40981cb0dcf228d47bb6c231b2e043eb1b2a73995ceb2 |
|
MD5 | 5151feef2c13441ffccf0a391a322c1e |
|
BLAKE2b-256 | 9ccdf6e901713c13408269cc2630e9d87a8eac9741d48aa353dcefd496badfa9 |