QsNullableLocationConverter.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.
public override Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> existingValue, bool hasExistingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> * bool * Newtonsoft.Json.JsonSerializer -> Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation>
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As QsNullable(Of QsLocation), hasExistingValue As Boolean, serializer As JsonSerializer) As QsNullable(Of QsLocation)
Parameters
- reader
- Newtonsoft.Json.JsonReader
- objectType
- Type
- existingValue
- QsNullable<QsLocation>
- hasExistingValue
- Boolean
- serializer
- Newtonsoft.Json.JsonSerializer