Step: Comma: ,

Comma: ,

Where | chains filters, , branches them: the same input is fed to each filter and their outputs are concatenated into one stream.

.user | (.name, .email)   # two outputs from one object

Your turn: output the firstName then the lastName (two separate results).

Input:
{
  "firstName": "Charles",
  "lastName": "Doe",
  "age": 41,
  "location": {
    "city": "San Francisco",
    "postal-code": "94103"
  },
  "hobbies": [
    "chess",
    "netflix"
  ],
  "pets": [
    {
      "name": "Bear",
      "kind": "dog"
    },
    {
      "name": "Jerry",
      "kind": "cat"
    }
  ]
}
Expected:
"Charles"
"Doe"
Step 10 of 27