Comparison between JSON and YAML for data serialization

Abstract

This report determines and discusses the primary differences between two different serialization formats, namely YAML and JSON. A general introduction to the concepts of serialization and parsing is provided first, which also explains how they can be used to transfer and store data. This is followed by an analysis of the YAML and JSON formats, where functionality, primary use cases, and syntax is described. In addition to this the percieved performance of implementations for both formats will also be investigated by conducting a number of tests. Using the combined background information and results from the tests, conclusions regarding the main differences between the two are then determined and discussed.