Reading Dictionaries

The way that a dictionary is read, is using the key to access the values.

The dictionary item in this model has the folllwing keys:

  • name
  • channel
  • narrator

This example uses TWO methods to read the dictionary data:

  1. using the key in square brackets
    This means that the name of dictionary has square bracket following it with the key inside of it

  2. using the object property as a key
    This means that the name of dictionary has a "dot" followed by the key

image of queue


Both methods give the SAME output

image of queue


This video goes through the modelling on this page: