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 Distribution
parse_broken_json-0.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for parse_broken_json-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cd144a15e2b33fe1501c6b484552288e60a464b332e3a94651826609d229fb4 |
|
MD5 | 6beb1af2a0fc4b149255f9c6a9e3fd7d |
|
BLAKE2b-256 | 711802fdec9b6af909563b0fe5b24f51f47801d7495cb661e4aa50c1c7b65ac2 |