Hello everyone,
I created a Class with this 3 properties
Class TestDynamic Extends (%RegisteredObject, %XML.Adaptor)
{
Property number As %xsd.string;
Property exam As %xsd.string;
Property result As list Of %DynamicObject;
}
I'm adding objects to list normally
set objTest=##class(TestDynamic).%New()
set objDynamic={"field":"value"}
do objTest.result.Insert(objDynamic)
But when i use this method to convert to JSON