WriteObject Method
Definition
- Namespace
- Cuemon.Extensions.Text.Json
- Assemblies
- Cuemon.Extensions.Text.Json.dll
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.