//[Benchmark] public void WriteBoolUnescapedUtf16() { _arrayFormatterWrapper.Clear(); var state = new JsonWriterState(options: new JsonWriterOptions { Indented = Formatted, SkipValidation = SkipValidation }); var json = new Utf8JsonWriter2(_arrayFormatterWrapper, state); json.WriteStartObject(); for (int i = 0; i < 100; i++) { json.WriteBoolean("first", value: true, suppressEscaping: true); } json.WriteEndObject(); json.Flush(); }