javascript json file code example Example 1: how to set up a json file { "name" : "data" } Example 2: html working with JSON data superHeroes['members'][1]['powers'][2]