Get a property value from JSON

"'Siamack J. Farshi' [email protected] [sed-users]" <[email protected]> Sat, 23 Jun 2018 13:03:46 +0000
Newsgroups gmane.editors.sed.user
Message-ID <YTOPR0101MB1018E4DEA370D6287EE7A93DDE740@YTOPR0101MB1018.CANPRD01.PROD.OUTLOOK.COM>
Hi everyone,


I was wondering what is the best way given a JSON payload from a CURL command to retrieve a value of a property.Namely a JSON payload like follows. Also assuming that 'property' names are unique across the payload even if there are nested elements


{

  "property1": "value1"

  "property2: "value2"

  "porperty3 : [

        {

           "property4": "value4"

        }

   ]

}


Thank you.


[Non-text portions of this message have been removed]