I'm trying to parse simple json to dynamic object in Windows phone 8. I'm using Newtonsoft.JSON library with this code:
dynamic response = JObject.Parse(responseText);
string streamRequestUrl = response._links.streams;
I can that _links are present there
But when I try to read it I get Microsoft.CSharp.RuntimeBinder.RuntimeBinderException. How to get _links property value out of it?
I was hitting something similar in VS 2015. The approach using [] to access the properties works, however if I enable "Just My Code" in Tools > Options > Debugging > General. I was able to use the properties on the dynamic objects as normal e.g. code like: response._links.streams; worked.
See this other post with a similar question
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With