Step: Nested object Identifier-Index: .foo.bar

Nested object Identifier-Index: .foo.bar

To fetch nested fields, you can either do .foo.bar or .foo|.bar. Now your turn, try to get city name from the example below.

Input:
{
  "firstName": "Charles",
  "lastName": "Doe",
  "location": {
    "city": "San Francisco",
    "postal-code": "94103"
  }
}
Expected:
"San Francisco"