3 ms·
Numbers, booleans, and nulls are atomic with jsonriver, you get them all at once only when they're complete. For my use case I wanted streaming parse of string
by rictic 1y ago
Numbers, booleans, and nulls are atomic with jsonriver, you get them all at once only when they're complete.
For my use case I wanted streaming parse of strings, I was rendering JSON produced by an LLM, for incrementally rendering a UI, and some of the strings were long enough (descriptions) that it was nice to see them render incrementally.