Test your skills in JSON and other common data formats like XML, CSV, and YAML with this quiz — ideal for developers and data professionals.
This quiz tests your knowledge of JSON and other common data formats used in web development, APIs, and data exchange. You'll encounter questions about syntax, use cases, and differences between formats.
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write, and for machines to parse and generate. It's commonly used in web APIs.
| Format | Primary Uses | Syntax Example | File Extension |
|---|---|---|---|
| JSON | APIs, configurations | { "key": "value" } |
.json |
| XML | Legacy APIs, configurations | <key>value</key> |
.xml |
| CSV | Spreadsheets, data export | key1,key2\nvalue1,value2 |
.csv |
| YAML | Configurations (Docker, GitHub Actions) | key: value |
.yaml, .yml |
Configure your quiz options on the left and click "Start Quiz" when you're ready to begin!
JSON is a lightweight data-interchange format that is easy for humans to read and write and for machines to parse and generate.
{
"name": "John Doe",
"age": 30,
"isStudent": false,
"courses": ["Math", "Science"],
"address": {
"street": "123 Main St",
"city": "Anytown"
}
}
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
<person>
<name>John Doe</name>
<age>30</age>
<isStudent>false</isStudent>
<courses>
<course>Math</course>
<course>Science</course>
</courses>
<address street="123 Main St" city="Anytown"/>
</person>
CSV is a simple file format used to store tabular data, such as a spreadsheet or database.
name,age,isStudent,courses,address "John Doe",30,false,"Math,Science","123 Main St, Anytown" "Jane Smith",25,true,"History,Art","456 Oak Ave, Somewhere"
YAML is a human-readable data serialization standard that can be used in conjunction with all programming languages and is often used for configuration files.
name: John Doe age: 30 isStudent: false courses: - Math - Science address: street: 123 Main St city: Anytown
Last Updated: Aug 18, 2025
Added new questions to help you practice JSON, XML, CSV, and YAML — great for developers and data pros.