Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

???

There is absolutely nothing inherent to JSON that would cause the woes the author is experiencing.

Any data can be serialized with JSON.



Can't any data also be serialized as a string? Does that mean "string payload" is good enough for exchanging data between systems?


Bingo.


I 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.


Everything is encoded in bits. What's like, the difference between anything?


Any 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: