The most human-readable data serialization format is the text-based format. In this section, we will analyze some of the most used text-based encoding—CSV, JSON, XML, and YAML.
Understanding text-based encoding
CSV
Comma-separated values (CSV) is a type of text encoding that stores data in a tabular form. Each line is a table entry and values of a line are separated by a special character, which is usually a comma—hence, the name CSV. Each record of the CSV file must have the same value count and the first record can be used as a header to describe each record field:
name,age,country
String values can be quoted in order to permit the use of the comma.