Veda Bites are swipeable micro-lessons — each one teaches exactly one
idea. Here's a taste from this kit; the app has the full deck.
💡 Key Idea
JSON Is a Lightweight Data Format
The backbone of data exchange.
JSON (JavaScript Object Notation) is a text-based format for structuring data. It is language-independent, human-readable, and widely used for APIs and configuration files. A JSON document is built from key-value pairs, arrays, and nested objects.
↳ JSON is a universal, minimal syntax for representing structured data.
📖 Definition
What Is a JSON Object?
Curly braces hold the data.
A JSON object is an unordered collection of key-value pairs enclosed in curly braces `{}`. Each key is a string, followed by a colon, then the value. Pairs are separated by commas.
↳ Objects group related data using named keys.
📖 Definition
What Is a JSON Array?
Ordered lists in square brackets.
A JSON array is an ordered list of values enclosed in square brackets `[]`. Values can be of any type, including objects or other arrays. Items are separated by commas.
↳ Arrays store ordered collections of values.