JSON is simply a data format that closely resembles the data literal format allowed by JavaScript. It’s a hierarchical format allowing nested objects and arrays, as well as string and number literals.