FunnySaltyFish/partial-json-parser-kmp
🔧 Kotlin Multiplatform library for parsing and repairing partial/incomplete JSON strings. Perfect for handling streaming JSON from LLMs like ChatGPT. Features real-time JSON completion, robust error handling, and pure Kotlin implementation. Supports parse incomplete JSON into objects and complete/repair partial JSON to valid format.
Stars
7
Forks
1
Language
Kotlin
License
MIT
Category
Last pushed
Nov 06, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/FunnySaltyFish/partial-json-parser-kmp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
mangiucugna/json_repair
A python module to repair invalid JSON from LLMs
antfu/shiki-stream
Streaming highlighting with Shiki. Useful for highlighting text streams like LLM outputs.
iw4p/partialjson
+1M Downloads! Repair invalid LLM JSON, commonly used to parse the output of LLMs — Parsing...
yokingma/fetch-sse
An easy API for making Event Source requests, with all the features of fetch(), Supports...
kaptinlin/jsonrepair
A high-performance Golang library for easily repairing invalid JSON documents. Designed to fix...