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