Title | Type | Duration | Name | City |
---|---|---|---|---|
JSON | Lab | 1:15 | Yuliya Kaleda | NYC |
Note: This should be done independently.
In this lab, you will be creating JSON files that will provide information about your family members. You will have to create two files that will have the same information about your family members but will have a different structure. After you created the files, go to JSON Beautifier to validate your JSON syntax.
-
create a file "family_array" that will have an array as a root element:
- it should have as many objects as there are members in your family
- each member should have four attributes: name, age, quality the member can be best described with and appearance that will be an object itself
- appearance should have two attributes: eyes (color) and hair (short/long)
-
create a file "family_nested_objects" that will have an object as a root element:
- it will have as many objects as there are members in your family
- each nested object should have a name that will be the real person's name
- each member should have 3 attributes: age, quality the member can be best described with and appearance that will be an object itself
- appearance should have two attributes: eyes (color) and hair (short/long)
BONUS:
- Research APIs for companies you are interested in and look through the JSON they provide