Slide 21
Slide 21 text
JSON = Python Dictionaries
product = {
"type": "videogame",
"title": "The Witness",
"price": 36.99,
"description": "Best game ever",
"platforms": ["PC", "PS4"],
"reviews": [
{
"user": "csuarez",
"rating": 5,
"comment": "This game changes my life *_*"
},
{
"user": "jtriguero",
"rating": 5,
"comment": "I see puzzles everywhere 8)"
}
]
}