dirtyjson
JSON decoder for Python that can extract data from the muck
JSON decoder for Python that can extract data from the muck
To install this package, run one of the following:
dirtyjson is a JSON decoder meant for extracting JSON-type data from .js files. The returned data structure includes information about line and column numbers, so you can output more useful error messages. The input can also include single quotes, line comments, inline comments, dangling commas, unquoted single-word keys, and hexadecimal and octal numbers.
The goal of dirtyjson is to read JSON objects out of files that are littered with elements that do not fit the official JSON standard. By providing line and column number contexts, a dirty JSON file can be used as source input for a complex data parser or compiler.
Summary
JSON decoder for Python that can extract data from the muck
Last Updated
Mar 3, 2026 at 14:00
License
Apache-2.0
Supported Platforms
GitHub Repository
https://github.com/codecobblers/dirtyjsonDocumentation
https://github.com/codecobblers/dirtyjson