I would like to parse this string to Json:
String str="[{\"property\":\"insert_date\",\"direction\":\"ASC\"}]"
I have tried with this:
dynamic myObject=Newtonsoft.Json.JsonConvert.DeserializeObject(str)
but it returns some JArray. I would like to read values simple like:
String dir=myObject.direction;
One option is to parse string and remove square object from string. Than it would work. But i would like to do it on more proper way.
[and]and check.