MobileServicePrecisionCheckConverter.WriteJson Method

Definition

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);
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.