marshalList static method

MarshalledArray marshalList(
  1. List<Object?> payload
)

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;
}