/// <summary>
 /// Creates a new instance of <see cref="JsonArrayResponseStreamSerializer" />.
 /// </summary>
 /// <param name="indented">
 /// Defines whether the underlying <see cref="Utf8JsonWriter"/>
 /// should pretty print the JSON which includes:
 /// indenting nested JSON tokens, adding new lines, and adding
 /// white space between property names and values.
 /// By default, the JSON is written without any extra white space.
 /// </param>
 public JsonArrayResponseStreamSerializer(bool indented = false)
 {
     _serializer = new(indented);
 }
 /// <summary>
 /// Creates a new instance of <see cref="MultiPartResponseStreamSerializer" />.
 /// </summary>
 /// <param name="indented">
 /// Defines whether the underlying <see cref="Utf8JsonWriter"/>
 /// should pretty print the JSON which includes:
 /// indenting nested JSON tokens, adding new lines, and adding
 /// white space between property names and values.
 /// By default, the JSON is written without any extra white space.
 /// </param>
 public MultiPartResponseStreamSerializer(bool indented = false)
 {
     _payloadSerializer = new(indented);
 }