Hi and thanks a lot for this great library!
I'm trying to get an Object from Javascript and convert it to a .NET System.Dynamics.ExpandoObject. Is there any solution for this? For example I call this .NET function from my JS, passing an Object as parameter:
public void test(JSValue obj)
{
// this unfortunately does not work, it returns null
Object clrObj = obj.As<ExpandoObject>()
}
Thanks!
EDIT:
It seems we can pass an ExpandoObject to JS:
https://github.com/nilproject/NiL.JS/blob/develop/FunctionalTests/ExpandoObjectTests.cs
But what about the other way round?