I'm using Jint to execute JavaScript in a Xamarin app. Jint is converting an associative array into an ExpandoObject. How do I use this object? Ideally, I'd like to get a dictionary of the data out of it.
JavaScript returns:
return {blah:abc, bleh:xyz};
Debugger of Object that Jint returns looks like:
ExpandoObject
. – Conlee((IDictionary<string, object>)result).ToDictionary(nvp => nvp.Key, nvp => nvp.Value)
– Intercalation