feat(decoder): indentation strict-mode enforcement

This commit is contained in:
Johann Schopplich
2025-10-29 13:54:55 +01:00
parent 6040c018e0
commit e6c006bc67
4 changed files with 127 additions and 7 deletions

View File

@@ -642,7 +642,7 @@ Some non-JSON types are automatically normalized for LLM-safe output:
|---|---|
| Number (finite) | Decimal form, no scientific notation (e.g., `-0``0`, `1e6``1000000`) |
| Number (`NaN`, `±Infinity`) | `null` |
| `BigInt` | Decimal digits (no quotes) |
| `BigInt` | If within safe integer range: converted to number. Otherwise: quoted decimal string (e.g., `"9007199254740993"`) |
| `Date` | ISO string in quotes (e.g., `"2025-01-01T00:00:00.000Z"`) |
| `undefined` | `null` |
| `function` | `null` |