Examples - Exercices

Example 1

Exercise

  1. Suppose that we want to have the results "Interdimensional travel" and 2016.  Which are the appropriate commands for these results?

Answer:

superHeroes['members'][2]['powers'][4]
superHeroes.formed
Example 2

Exercise

  1. Suppose that we want to have the results "Damage resistance" and "Madame Uppercut".  Which are the appropriate commands for these results?

Answer:

superHeroes[1].powers[1]
superHeroes[1].name

See more about JSON