Need to Extract the Specific Data From Json

we can play with the strength of JSON Path:
myJObject = output from Deserialize JSON, a JObject

grafik

myJObject.SelectToken("..[?(@.type=='invoice_date')].mentionText").Value(of String) 
myJObject.SelectToken("..[?(@.type=='invoice_date')].mentionText").Value(of DateTime)

grafik
grafik

About JSON Path:

1 Like