17 ms·
It's not like everyone has the choice to not use JSON.
by Scarbutt 6y ago
It's not like everyone has the choice to not use JSON.
- whalesalad 6y ago??? There is absolutely nothing inherent to JSON that would cause the woes the author is experiencing. Any data can be serialized with JSON.
- Scarbutt 6y agoAny data can be serialized with JSON. Yep, by writing ad-hoc and context-dependent formats on top of JSON for every language on your system. JSON set of types are just too limited.
- blandflakes 6y agoCan't any data also be serialized as a string? Does that mean "string payload" is good enough for exchanging data between systems?
- whalesalad 6y agoBingo.
- giantDinosaur 6y agoEverything is encoded in bits. What's like, the difference between anything?
- blandflakes 6y agoI guess my point was that I'm rather on the side of "Ok then maybe it is still worth finding a serialization format that maps better to my domain, like perhaps that can serialize numbers with the same precision without having to route them through a string and back." This is like claiming that it's not worth comparing programming languages because machine code is Turing complete.