teamchong / vectorjson
PublicO(n) streaming JSON parser for LLM tool calls. Agents act sooner, abort bad outputs early. WASM SIMD, up to 2000× faster than stock AI SDK parsers.
VectorJSON is a high-performance streaming JSON parser designed for efficiently handling tool calls and large payloads from language models in real-time.
How It Works
You learn about a clever tool that reads incoming AI messages piece by piece without waiting for the whole thing.
You easily bring the tool into your app so it's ready to use.
You create a smart reader that watches for message parts as they arrive.
As pieces of the AI response trickle in, your reader grabs them one by one and builds the picture instantly.
Fields like tool names or code snippets show up right away, letting you preview and react without delay.
You spot important info early, skip unwanted parts, or even stop early if something's off to save time.
Your AI helper acts lightning-fast, users love the smooth experience, and you save on unnecessary waits.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.