Safe json handling requires that all properties are stringified anyway and you cast them to their correct types (because json sucks and you can never tell what someone will put in there anyway).
Yeah, I actually really don’t like JSON. It looks simple but actually isn’t, that’s a bad combo.
CBOR is much nicer, but annoyingly they made their human readable debug version of it similar enough to JSON that people assume it’s just a binary form of JSON, it isn’t.
Safe json handling requires that all properties are stringified anyway and you cast them to their correct types (because json sucks and you can never tell what someone will put in there anyway).
Yeah, I actually really don’t like JSON. It looks simple but actually isn’t, that’s a bad combo.
CBOR is much nicer, but annoyingly they made their human readable debug version of it similar enough to JSON that people assume it’s just a binary form of JSON, it isn’t.