Table of Contents

Method SerializeArray

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

SerializeArray(string)

Start serializing an array into the object.

public JsonArraySerializer SerializeArray(string key)

Parameters

key string

The name of the array

Returns

Remarks

IMPORTANT: This serializer must be used completely and disposed before any other value is serialized into the object, or the serialization would be corrupted.