Nested JSON Structures

Python

Access Nested Data

Nested JSON

Real API responses often have deeply nested structures.

Your Task

Extract from the order data:

  • customer_name: the customer's name
  • city: the shipping city
  • item_count: total number of items ordered
  • Code Editor
    Loading PYTHON engine...
    Loading...
    Loading Python engine...

    Run your code to see output