devpocket.dev

Partial JSON Completer

Complete truncated JSON streams, inspect the parsed value, and review every inferred edit.

Runs locally
Loading tool…

How to use

Paste a prefix copied from a JSON stream or an interrupted model response. Choose whether an unfinished final string should keep its partial text or be dropped, and whether truncated literals such as tru should be completed or removed. The scanner only accepts prefixes of valid JSON; it does not rewrite arbitrary syntax. Drag the stream simulator to replay the input character by character. Copy the completed JSON, inspect its parsed tree, and review the inferred closures, completions, or dropped members below.

FAQ

How is this different from JSON Repair?

This tool assumes the input is a prefix of otherwise valid JSON and makes conservative end-of-stream inferences. JSON Repair also rewrites malformed syntax such as single quotes, comments, and unquoted keys.

What happens to data that was never streamed?

Missing data cannot be recovered. The completer only preserves received values, optionally keeps a partial final string, and closes or drops incomplete syntax so the result parses.

Does the streaming simulator make network requests?

No. It reveals the pasted text one character at a time and reruns the scanner entirely in your browser.

Related tools