Class Utf8JsonWriterExtensions
- Namespace
- Cuemon.Extensions.Text.Json
- Assembly
- Cuemon.Extensions.Text.Json.dll
Extension methods for the Utf8JsonWriter class.
public static class Utf8JsonWriterExtensions
- Inheritance
-
Utf8JsonWriterExtensions
Methods
WriteObject(Utf8JsonWriter, object, JsonSerializerOptions)
Serializes the specified value and writes the JSON structure using the specified writer.
public static void WriteObject(this Utf8JsonWriter writer, object value, JsonSerializerOptions options)
Parameters
writerUtf8JsonWriterThe Utf8JsonWriter used to write the JSON structure.
valueobjectThe Object to serialize.
optionsJsonSerializerOptionsOptions to control the conversion behavior.