I have this json, and I want to extract for each entity the entity id, the value, and the confidence. I am using a for each (item in json) and item.name for the entity id which is working fine. However, much trial and error has not helped me extract the value or confidence.
Normally I’d name the fields I want from the deserialised json, eg json.root(“sentiment”).item(“value”).value(of string). However, this does not apply in the for each scenario, when the number and types of entity could change. Furthermore, this only goes two levels down, and I require 3 levels for this.
“_text”: “i am really angry”,
Any help is appreciated.