DurationConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converter for serializing and deserializing Duration objects.
public class DurationConverter : Newtonsoft.Json.JsonConverter
type DurationConverter = class
inherit JsonConverter
Public Class DurationConverter
Inherits JsonConverter
- Inheritance
-
Newtonsoft.Json.JsonConverterDurationConverter
Constructors
DurationConverter() |
Methods
CanConvert(Type) |
Checks if the given object can be converted into a Duration object. |
ReadJson(JsonReader, Type, Object, JsonSerializer) |
Deserialize the edm.duration into an Microsoft.Graph.Duration object. |
WriteJson(JsonWriter, Object, JsonSerializer) |
Serializes the edm.duration representation of the Microsoft.Graph.Duration object. |