共用方式為


DateConverter Class

Definition

The Date Converter.

public class DateConverter : Newtonsoft.Json.JsonConverter
type DateConverter = class
    inherit JsonConverter
Public Class DateConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
DateConverter

Constructors

DateConverter()

Methods

CanConvert(Type)

Check if the given object can be converted into a Date.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Converts the JSON object into a Date object

WriteJson(JsonWriter, Object, JsonSerializer)

Writes the JSON representation of the object.

Applies to