3 ms·
It's awful because you would expect a network encoding of a set of types to be able to encode all the valid values of those types. If you claim that your encodi
by derefr 13y ago
It's awful because you would expect a network encoding of a set of types to be able to encode all the valid values of those types. If you claim that your encoding can represent floats, but it can't represent Infinity or NaN, then your encoding cannot, in fact, represent floats.
- polemic 13y agoIt makes no such claim! See http://www.json.org/ http://www.json.org/ - it is very cleary defined. *It's a string notation for a number. Don't get hung up on the implementations of floats or integers - it's irrelevant!