Technical / API
JSON (JavaScript Object Notation)
A lightweight, human-readable data format widely used for API requests and responses.
In simple terms
JSON is a simple, structured way of sending information — like a labeled note rather than nested tags.
Real-world example
A response like: hotel: 'Marriott Jeddah', price: 320, currency: 'SAR'.
Why it matters
JSON is now the default for most modern REST APIs due to its simplicity and smaller payload size versus XML.
Common mistake
Not validating JSON structure before processing it — malformed JSON is a very common integration bug.
Interview question
What are the practical advantages of JSON over XML for a modern travel API?
Related terms
XMLREST APIData Serialization
