JSON (JavaScript Object Notation) is our most commonly used format. JSON is a text-based open standard derived from the format used to represent simple data structures in JavaScript. Although it is rooted in JavaScript, it is language-agnostic and parsers exist for all popular (and many unpopular) languages.
When JSON is specified as the format, the response will be a JSON array, where each element in the array is a result. The key will be the column’s field name
and the value will be the result. Fields with null
values are omitted. For example:
The format is designed to be easily human-readable, and should also be immediately parsable by all common JSON parsers.
Details on how data is encoded are described in the documentation for each datatype.