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
writer
Utf8JsonWriterThe Utf8JsonWriter used to write the JSON structure.
value
ObjectThe Object to serialize.
options
JsonSerializerOptionsOptions to control the conversion behavior.