Align host json encode/decode with Lean ForeignJSON: refuse OOD integers instead of silent Node distortion; keep decimal-string BigInt author path. Co-authored-by: Cursor <cursoragent@cursor.com>
270 B
270 B
markup, title, import
| markup | title | import | ||
|---|---|---|---|---|
| occlusion | json V_safe MAX_SAFE roundtrip |
|
main
obj = > json.parse text={"n":9007199254740991}
n = > json.get value=obj key="n"
out = > json.stringify value=obj
print text=
nprint text=out