Re:Why I no longer have an old-school cert on my HTTPS site
by Sammi on Saturday May 24, 2025 @04:06PM
(#44083470)
There are easy workarounds to getting bigints in JSON: https://github.com/GoogleChromeLabs/jsbi/issues/30#issuecomm...
[ Parent
| on HN ]
Re:Why I no longer have an old-school cert on my HTTPS site
by josephg on Sunday May 25, 2025 @07:00AM
(#44086962)
Sure; and I can encode maps and sets as entry lists. Binary data as strings and so on. But I don’t want to. I shouldn’t have to.
The fact remains that json doesn’t have native support for any of this stuff. I want something json-like which supports all this stuff natively. I don’t want to have to figure out if some binary data is base64 encoded or hex encoded or whatever, and hack around jackson or serde or javascript to encode and decode my objects properly. Features like this should be built in.
Re:Why I no longer have an old-school cert on my HTTPS site
by Sammi on Sunday May 25, 2025 @07:24AM
(#44087068)
Agree. JSON definitely needs an update so we can get better ergonomics built in.
In code you control you can choose to use JSON5: https://json5.org/