Esempio n. 1
0
        private static void WriterSystemTextJsonHelloWorldUtf8(bool formatted, ArrayFormatterWrapper output)
        {
            Utf8JsonWriter <ArrayFormatterWrapper> json = Utf8JsonWriter.Create(output, formatted);

            json.WriteObjectStart();
            json.WriteAttributeUtf8(Message, HelloWorld);
            json.WriteObjectEnd();
            json.Flush();
        }