Table of Contents

Constructor JsonSerializerBase

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

JsonSerializerBase(StringBuilder, Action?, char?, char?)

Initializes a new instance of the JsonSerializerBase class.

protected JsonSerializerBase(StringBuilder buffer, Action? disposeNotifier = null, char? open = null, char? close = null)

Parameters

buffer StringBuilder

The buffer to write JSON to

disposeNotifier Action

A callback to be notified when disposed

open char?

The character to write when starting (i.e., '[' for arrays)

close char?

The character to write when finishing (i.e., ']' for arrays)