Class UnixMillisecondsConverter
Newtonsoft.
Inherited Members
JsonConverter.CanRead
JsonConverter.CanWrite
Namespace: Couchbase.Core.IO.Serializers
Assembly: Couchbase.NetClient.dll
Syntax
public class UnixMillisecondsConverter : JsonConverter
Remarks
Apply to a property using Newtonsoft.
Methods
| Edit this page View SourceCanConvert(Type)
Determines whether this instance can convert the specified object type.
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
Type | objectType | Type of the object. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
| Edit this page View SourceReadJson(JsonReader, Type, object, JsonSerializer)
Reads the JSON representation of the object.
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Json |
reader | The Newtonsoft. |
Type | objectType | Type of the object. |
object | existingValue | The existing value of object being read. |
Json |
serializer | The calling serializer. |
Returns
Type | Description |
---|---|
object | The object value. |
Overrides
| Edit this page View SourceWriteJson(JsonWriter, object, JsonSerializer)
Writes the JSON representation of the object.
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Json |
writer | The Newtonsoft. |
object | value | The value. |
Json |
serializer | The calling serializer. |