Step: Identity operator($.)

Identity operator($.)

JsonPath expression always starts with $.. The absolute simplest filter is $..

This filter takes an input and produces identical output. By default it also pretty-prints the value. So if you want to pretty-print your JSON - just apply filter $.

Now Try that yourself.

On the left you see the input that you need to transform. One the right, the value we expect to see.

Write your JsonPath expression in the "JsonPath Expression box" and click "Check" button.

    "firstName": "Charles",
    "lastName": "Doe"