JSON (JavaScript Object Notation) is a lightweight data-interchange format that’s easy for humans to read and write and easy for machines to parse and generate. It’s used primarily to transmit data between a server and web application as an alternative to XML. Think of JSON as a translator between the language used on servers and the language used in web browsers.