{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Parses incomplete or malformed JSON strings into valid Python objects, handling truncated structures and optional JSON5 syntax extensions.","skillfed_tags":["json-parsing","streaming-data","error-recovery"],"use_cases":["Parse streaming JSON responses from language models or APIs that send data incrementally before the full payload is complete.","Recover structured data from log files or network captures where JSON is truncated or interrupted mid-transmission.","Handle JSON5 configuration files with comments and unquoted keys in development tooling or build systems.","Extract partial results from real-time data pipelines where downstream consumers need to work with incomplete structures.","Debug and inspect malformed JSON payloads during development without manual string repair."],"what_it_does":"Partialjson is a lightweight Python library for extracting structured data from incomplete or truncated JSON strings\u2014a common problem when parsing streaming responses or interrupted data feeds. It recovers valid Python objects from JSON that is missing closing brackets, trailing commas, or other incomplete syntax, without requiring the full payload to be available upfront.\n\nThe library offers two parsing modes: strict (default) for standard JSON, and lenient (strict=False) for handling embedded newlines. It also supports JSON5 syntax (comments, unquoted keys, single quotes, trailing commas) when the optional json5 dependency is installed. With zero runtime dependencies in the base package and a simple three-line API, it integrates easily into projects that consume streaming or partially-buffered JSON data.","worth_installing":"Yes. The package solves a real problem\u2014parsing incomplete JSON\u2014with minimal overhead and no dependencies. Active maintenance, permissive MIT license, and a clean API make it a low-risk addition to projects that consume streaming or interrupted JSON data. Not needed for standard, complete JSON parsing."},"id":"partialjson","links":{"html":"https://skillfed.io/packages/partialjson","md":"https://skillfed.io/packages/partialjson.md","pypi":"https://pypi.org/project/partialjson/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-19","license_spdx":null,"license_treatment":"permissive","name":"partialjson","python_support":"unspecified","summary":"Parse incomplete or partial json"},"popularity":{"monthly_downloads":596611,"position":5839,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
