Data Dictionaries

What is a data dictionary?

A data dictionary is a collection of key-value pairs. In this structure:

  1. Keys are unique identifiers used to look up values
  2. Values can be any type of data (numbers, strings, arrays, objects, etc.)

Think of it like a real-life dictionary, where a word (the key) maps to a definition (the value).

What you need to do:

Read through the following modelling pages, watching the videos on each page and looking at the code provided:

  1. Modelling Dictionaries (JSON) view here ⭷
  2. Reading JSON view here ⭷
  3. Selecting Data from JSON view here ⭷
  4. Changing Data in JSON view here ⭷
  5. Looping through JSON view here ⭷

The proceed to the Exercises and complete those.