Class Utf8JsonWriterExtensions
- Namespace
- Songhay.Extensions
- Assembly
- SonghayCore.dll
Extensions of Utf8JsonWriter
public static class Utf8JsonWriterExtensions
- Inheritance
-
Utf8JsonWriterExtensions
- Inherited Members
Methods
WriteObject(Utf8JsonWriter?, Action?)
Wrap Utf8JsonWriter statements inside WriteStartObject() and WriteEndObject().
public static Utf8JsonWriter? WriteObject(this Utf8JsonWriter? writer, Action? writerAction)
Parameters
writerUtf8JsonWriterthe Utf8JsonWriter
writerActionAction
Returns
Remarks
This method is for building a JSON object.
WriteObject(Utf8JsonWriter?, string, Action?)
Wrap Utf8JsonWriter statements inside WritePropertyName(string) WriteStartObject() and WriteEndObject().
public static Utf8JsonWriter? WriteObject(this Utf8JsonWriter? writer, string propertyName, Action? writerAction)
Parameters
writerUtf8JsonWriterthe Utf8JsonWriter
propertyNamestringwriterActionAction
Returns
Remarks
This method is for building a JSON object for a JSON property.