News for hackers. Stuff that matters.
Re:I accidentally used YAML.parse instead of JSON.parse and ... by twic on Monday January 24, 2022 @05:40AM (#30055854)
The JSON specification [1] states:

> An implementation may set limits on the length and character contents of strings.

So this length limit is not a source of incompatibility with JSON.

[1] https://datatracker.ietf.org/doc/html/rfc7159#section-9

Re:I accidentally used YAML.parse instead of JSON.parse and ... by eatonphil on Monday January 24, 2022 @09:39AM (#30058103)
Wow! That makes it pretty hard to know you've generated useful JSON especially if your goal is to for cross-ecosystem communication.