ExtensibleEnumConverter<T>.ReadJson 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.
Deserializes a string into an ExtensibleEnum.
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
Ignored by this method.
- existingValue
- Object
Ignored by this method.
- serializer
- Newtonsoft.Json.JsonSerializer
Ignored by this method.
Returns
An instance of type T, or null if the current JSON token is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET