JSON is a text data-interchange format made of objects, arrays, strings, numbers, booleans, and null. An API that sends or receives JSON signals it with the Content-Type: application/json header, so the other party interprets the body correctly.
Example
{"id": 12, "nom": "Léa", "actif": true}