Language / Technology

Why is JSON often used by APIs?

Short answer

JSON represents structures such as strings, numbers, arrays, and objects and is supported by many programming languages.

How it works

JSON is a data format; it does not automatically provide security or authentication. It must be used with an API’s rules.

Key point

The practical point is this: It must be used with an API’s rules.

References