JSON

Definition

JavaScript Object Notation - a lightweight format for storing and transporting data. Like a universal language for computers to exchange information.

Use Cases

Frequently Asked Questions

What's the difference between JSON and XML?
JSON and XML are both formats for structuring data for exchange. JSON is usually more compact and maps naturally to objects and arrays used in many programming languages. XML is more verbose and uses tags; it can be better when you need document-style markup or complex schema tooling, but for most web APIs JSON is the common default.
When should I use JSON?
Use JSON when you need a simple, widely supported way to send structured data between systems—especially for web APIs, configuration files, event payloads, and logs. It’s a strong choice when humans may also read or edit the data and when you want broad compatibility across languages and platforms.
How much does JSON cost?
JSON itself is free—it’s an open text format. Costs come from the systems that store, transmit, or process JSON (for example, API gateway requests, data egress, database storage, log ingestion, or compute time to parse/validate JSON).

Category: software

Difficulty: basic

Related Terms

See Also