Method SerializeObject
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
SerializeObject(string)
Start serializing an object into the object.
public JsonObjectSerializer SerializeObject(string key)
Parameters
keystringThe name of the object
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.