CMD + K

dirtyjson

Community

JSON decoder for Python that can extract data from the muck

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::dirtyjson

Usage Tracking

1.0.8
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

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.

About

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

linux-64
linux-aarch64
macOS-arm64
win-64