IJsonValueSerializer<TValue>.ReadFromJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.