skip to Main Content

Parse JSON file that has nested keys

I have a JSON file that contains nested key-value pairs. My JSON file looks like this { "TagName1":{ "TestCaseName1":{ "Status":"pass", "RunTime":"063045" }, "TestCaseName2":{ "Status":"fail", "RunTime":"064045" } }, "TagName2":{ "TestCaseName3":{ "Status":"pass", "RunTime":"073045" }, "TestCaseName4":{ "Status":"fail", "RunTime":"074045" } } } I want…

VIEW QUESTION

Traverse a JsonNode

This is how much JsonNode response has different key value pairs, similar to the example below. How can I traverse it to get the response in both key and value pair. Thank you. { "message": "Results field contain api response",…

VIEW QUESTION
Back To Top
Search