Udostępnij za pośrednictwem


CustomJsonConverters.CreateDateTimeConverter Method

Definition

Creates a new converter that converts between dates serialized in ISO 8601 format in JSON strings and System.DateTime instances.

public static Newtonsoft.Json.JsonConverter CreateDateTimeConverter ();
static member CreateDateTimeConverter : unit -> Newtonsoft.Json.JsonConverter
Public Shared Function CreateDateTimeConverter () As JsonConverter

Returns

Newtonsoft.Json.JsonConverter

A JSON converter.

Applies to