3 ms·
>It is good enough to serve as universal exchange format, tools like `jq` exist for some time now. Please don't use that underdefined joke of a spec. Define "P
by poincaredisk 2y ago
>It is good enough to serve as universal exchange format, tools like `jq` exist for some time now.
Please don't use that underdefined joke of a spec. Define "PosixJson" and use that instead. Right now it's not even clear what the result of parsing {"a": 1234678901234567890} is. Is this a parse error? A bigint? A float/double? Quiet wraparound? Something else? I've seen all these behaviors in real world JSON implementations across different languages.