MobileServicePrecisionCheckConverter.WriteJson 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.
Writes the value
to Json only if we can ensure that the value
will not lose precision when sent to the server.
Otherwise it throws an exception.
public override void WriteJson (Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer);
override this.WriteJson : Newtonsoft.Json.JsonWriter * obj * Newtonsoft.Json.JsonSerializer -> unit
Public Overrides Sub WriteJson (writer As JsonWriter, value As Object, serializer As JsonSerializer)
Parameters
- writer
- Newtonsoft.Json.JsonWriter
The JsonWriter instance to use.
- value
- Object
The value to check on write.
- serializer
- Newtonsoft.Json.JsonSerializer
The current Serializer.
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