Unlike BinaryFormatter, JSON serialization serializes data in a human-readable format. Using XmlSerializer also produces XML that is human-readable, but JSON serialization produces a smaller data size than XmlSerializer. JSON is primarily used to exchange data and can be used with many different programming languages (as can XML).
JSON serializers
Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.