2 ms·
Most of the same problems, such as duplicate keys and invalid UTF8 encoding, can occur in binary protocols.
by mokedglass 6y ago
Most of the same problems, such as duplicate keys and invalid UTF8 encoding, can occur in binary protocols.
- IshKebab 6y agoThe article lists 5 problems: > Inconsistent Duplicate Key Precedence Ok this could still be a problem, though I doubt it would be in practice and the article states "some serializers refused to create binary representations of multiple keys". > Key Collision: Character truncation and Comments Not possible with binary formats. > JSON Serialization Quirks N/A > Float and Integer Representation Not an issue with binary formats. > Permissive Parsing and Other Bugs Mostly not an issue with binary formats. Unfortunately they said they tested some binary formats but didn't present the results!