Forum Discussion
JG
Jun 07, 2018Cumulonimbus
So the output is really in multiple lines, not in a single line as it was originally posted:
{
"system": "ADC",
"status": "Running",
"date": "06-07-2018 03:48:12:859",
"details": [
{
"service": "Terminology",
"description": "Terminology Web Service",
"status": "Running",
"details": [
{
"web_service": "Running"
}
]
}
]
If so, you can try the following instead:
{ "system": "ADC", "status": "Running", "date": "06-07-2018 03:48:12:859", "details": [ { "service": "Terminology", "description": "Terminology Web Service", "status": "Running", "details": [ { "web_service": "Running" } ] } ]
. This will capture the first occurrence of "Running" with the correct context, no?
[Edited to replace all spaces with
\s\s\"system\":\s\"ADC\",\n\s\s\"status\":\s\"Running\",\n
to avoid confusion due to incorrect code display.]