Condividi tramite


ResourceJsonConverter.ReadJson Method

Definition

Deserializes an object from a JSON string and flattens out Properties.

public override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * obj * Newtonsoft.Json.JsonSerializer -> obj
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As Object, serializer As JsonSerializer) As Object

Parameters

reader
Newtonsoft.Json.JsonReader

The JSON reader.

objectType
Type

The type of the object.

existingValue
Object

The existing value.

serializer
Newtonsoft.Json.JsonSerializer

The JSON serializer.

Returns

Applies to