Partial JSON Playground
Paste a structured LLM response below, or use the sample. Press play to replay
it a few characters at a time, or drag the slider. The right-hand side shows
what fenced-json makes of the
text received so far: the parsed value, its state, and which field is still
arriving. Everything runs in your browser.
Received so far
empty
Parsed value
The parser is fenced-json on npm. It is a few hundred lines with no dependencies, and the code that runs on this page is the same file the package ships. Read about how it was built.