json data types with examples
JSON (JavaScript Object Notation) supports six basic data types. They are divided into two categories: primitive (simple values) and complex (structures that can hold multiple values). Here is a breakdown of each JSON data type with examples. Primitive Data Types 1. String A string is a sequence of characters used to represent text. In JSON,…