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
bufferStringBuilderThe buffer to write JSON to
disposeNotifierActionA callback to be notified when disposed
openchar?The character to write when starting (i.e., '[' for arrays)
closechar?The character to write when finishing (i.e., ']' for arrays)