I'm new to javascript and JSON objects and I'm wondering, is there a way to search for a keyword within the value of one of the key/value pairs?
My JSON objects have various key/value pairs and one of them is the Message key shown here...
Message: "<?xml version="1.0" encoding="UTF-8" ?><Response Version="2.3 Build Date 15/06/2020" Type="SNMPQuery" Timestamp="1592321768"><State>"Up"</State><SNMPResponse>""</SNMPResponse></Response>"
In dev tools I can query the Message key through dot notation and therefore see the value, but is there a way to just query/return the State of the Server, so in this case the word "Up"?
I hope all this makes sense.
Thanks