共用方式為


TimeOfDayConverter Class

Definition

Handles serialization and deserialization for TimeOfDay.

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

Constructors

TimeOfDayConverter()

Methods

CanConvert(Type)

Checks if the given type can be converted to a TimeOfDay.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Deserialize the JSON data into a TimeOfDay object.

WriteJson(JsonWriter, Object, JsonSerializer)

Writes the JSON representation of the object.

Applies to