Get a specific parameter from a json string using JsonPath in scala
问题 I have a json string and I want to extract a parameter from this json using JsonPath in scala. Given Json: { "message_payload":"6b700b000006", "message_encryption_version":"2.0", "message_version":"1.0", "message_metadata":{ "marketplace_id":"1", "workflow_id":"5906bd4e-52eb-4e2d-9a16-034fb67572f1", "hostname":"dev-dsk-shivabo-2b-3c0a1bd6.us-west-2.amazon.com", "event_type":"MerchantRegistrationFraudEvaluation", "event_date":"1513665186657" } } I tried to use the below code to get the