I used the below code to serialize ax object to Json using Newtonsoft.Json.dll
static void SMCJsonTest(Args _args)
{
str jsonData;
SMCTest test;
test = new SMCTest();
test.parmTest("Hello");
jsonData = Newtonsoft.Json.JsonConvert::SerializeObject(test, Newtonsoft.Json.Formatting::Indented);
info(strFmt("%1",jsonData));
}
but the result is :
{
"XppRuntime": null,
"IsRemoteKernel": false,
"Context": {
"HttpContextAccessible": false
}
}
I think it is compiler execution issue or security issue , please advice .
*This post is locked for comments