Versions 162 to 318
Lines 6–15 at 318 (were 6–12 at 162)
77
88/** Structural JSON decoding. Retains nesting and one bounded string fragment, not a decoded tree. */
9−export function* jsonEvents(chunks: Iterable<string>): IterableIterator<JsonEvent> {
Lines 64–72 at 318 (were 61–67 at 162)
6366 if (!/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$/.test(token)) throw Error("invalid JSON scalar");
64− yield { kind: "value", value: Number(token) };
- MCP
- compare on this site's /mcp
- CLI
- abso diff 162 318 server/src/json-events.ts --json
- JSON
- /christopher/abso-core/compare/162..318?file=server%2Fsrc%2Fjson-events.ts&format=json