marshalList static method
Implementation
static MarshalledArray marshalList(List<Object?> payload)
{
MarshalledArray marshaledArray = new MarshalledObject.emptyArray().asArray();
for (Object? element in payload)
{
/** Recursively marshal list */
marshaledArray.pushElement( _marshalRecursively(element).getRawValue() );
}
return marshaledArray;
}