Partager via


IJsonValueSerializer<TValue>.ReadFromJson Method

Definition

Read value from the JSON.

public TValue ReadFromJson (Newtonsoft.Json.JsonReader jsonReader, Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IValueTypeMetadata? valueMetadata = default);
abstract member ReadFromJson : Newtonsoft.Json.JsonReader * Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IValueTypeMetadata -> 'Value
Public Function ReadFromJson (jsonReader As JsonReader, Optional valueMetadata As IValueTypeMetadata = Nothing) As TValue

Parameters

jsonReader
Newtonsoft.Json.JsonReader

Reader to retrieve values.

valueMetadata
IValueTypeMetadata

Additional metadata of the context of the value.

Returns

TValue

The value.

Applies to