Comment

Comment by professoretc

It doesn't "corrupt" them; it converts them to JSON strings. It's in the name. Expecting `JSON.stringify` to throw in those situations would be like expecting `str` in Python to throw.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton