- JavaScript Object Notation
- JSON is known as a light-weight format type and is favored for its readability and nesting features. It is often used in conjunction with APIs and data configuration. More specifically, JSON is preferred for API use, which prioritizes file size due to its lightweight feature. JSON is also praised for its ability to be easily converted into other formats.
- Comma Separated Values
- Implied in its name, CSV stores the data (values) in a list format separated by commas. CSV is noted for its small file size and simplicity. Likewise, because of its simplicity, CSV can be used by virtually anyone who is tasked with examining simple data in spreadsheets and tables.
- Extensible Markup Language
- a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable
- XML is a technology that you may use to connect systems and applications. CSV, on the other hand, may be used to store enormous amounts of data that must always be concatenated, such as log files, as well as for data streaming.Generally speaking, CSV should be chosen if the data is simple, flat, and tabular, and you are working with common software and languages. JSON should be chosen if the data is complex, nested, and object-oriented, and you are working with web applications and APIs.