JSON Performance in .NET with Binary Data (testing...)

added by JamesNK
2/8/2010 12:00:32 PM

15 Kicks, 518 Views

Binary data and text file formats (JSON, XML) don’t tend get along. To be included in JSON or XML binary data has to be encode into a text friendly format, generally base64, which creates overhead both in the time spent encoding/decoding binary, and the extra size of the text encoded data in the message. In our test we’ll compare serializing a message with binary data using common .NET serialization methods and compare the result.