Exercise: Write a JSON object

 

A JSON object is a collection of named values.

The name must be a string (double quoted) and the value can be of any valid JSON type.

 

Here you will use an object to represent a person.

You will store his name (string), age (number) and list of children (array of objects)

 

 

 

Try to reproduce the JSON that is displayed in Goal !