Table of Contents

Interface IXunitSerializer

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

Implemented by types which can support serialization and deserialization. This allows external serializers for types which would be inconvenient or impossible to implement IXunitSerializable directly.

public interface IXunitSerializer

Methods

Deserialize(Type, string)

Deserializes a value that was obtained from Serialize(object).

IsSerializable(Type, object?, out string?)

Determines if a specific value of data is serializable.

Serialize(object)

Serializes a value into a string to be later deserialized with Deserialize(Type, string).