Class JsonObjectConverter
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter<System.Object>
Namespace: Umbraco.Cms.Infrastructure.Serialization
Assembly: Umbraco.Infrastructure.dll
Syntax
public class JsonObjectConverter : JsonConverter<object>
Methods
View SourceRead(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override object Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Utf8JsonReader | reader | |
Type | typeToConvert | |
System.Text.Json.JsonSerializerOptions | options |
Returns
Type | Description |
---|---|
System.Object |
Write(Utf8JsonWriter, Object, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, object objectToWrite, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Utf8JsonWriter | writer | |
System.Object | objectToWrite | |
System.Text.Json.JsonSerializerOptions | options |