Skip to content

carlosplanchon/parse_broken_json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Small lib to help parsing broken or invalid JSONs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages