Activity v1

Streaming JSON Repair & Buffer Playground

Visualise incomplete stream buffering, UTF-8 sequence cuts, and token-repair delimiters.

completion
beginner
seed 11

Streaming JSON Repair & Buffer Playground: Baseline

Explore the core controls with stable inputs and visible assumptions.

Assumptions

The simulation is deterministic and intentionally simplifies provider and hardware behavior.

Failure injection

Stable baseline with no injected production fault.

Streaming JSON Repair Visualizer

Buffer index: 0 / 176 bytes0% complete

1. Raw Input Buffer

Uint8Array
waiting for stream...

2. UTF-8 Byte sequences

UTF-8 Aligned
No bytes decoded

3. Token-Repair State Machine

Syntactically Incomplete
Open bracket stack
Stack empty
Auto-closed repaired payload
waiting...

4. Parsed JSON Tree View

60Hz UI render
Waiting for first valid repair tick...
0 saved attempts

Expected outcomes

  • Align UTF-8 code-point byte chunks
  • Repair unclosed JSON string delimiters

Connected concepts