TimeSpanSecondsConverter Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Json.Converters.Time
Assembly Skybrud.Essentials.dll
Visibility Public
Inheritance

JSON converter for seriqalizing and deserializating between instances of TimeSpan and the total amount of seconds represented by the time span.

public class TimeSpanSecondsConverter : JsonConverter { }

Properties

Type Name Summary
bool CanRead (inherited from JsonConverter )
bool CanWrite (inherited from JsonConverter )

Methods

CanConvert(Type) (virtual)

Determines whether this instance can convert the specified object type.

Reads the JSON representation of the object.

Writes the JSON representation of the object.

Inherited from JsonConverter

GetSchema() (virtual)