Reading Buses API V3.0.0
A C#, .net Standard Library for the Reading Buses Open Data API (https://reading-opendata.r2p.com/), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.Common.DateTimeOffsetConverter Class Reference

Converts a datetime value between its JSON representation and the object. More...

Inheritance diagram for ReadingBusesAPI.Common.DateTimeOffsetConverter:

Public Member Functions

override DateTime Read (ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
 
override void Write (Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
 

Detailed Description

Converts a datetime value between its JSON representation and the object.

Member Function Documentation

◆ Read()

override DateTime ReadingBusesAPI.Common.DateTimeOffsetConverter.Read ( ref Utf8JsonReader  reader,
Type  typeToConvert,
JsonSerializerOptions  options 
)

◆ Write()

override void ReadingBusesAPI.Common.DateTimeOffsetConverter.Write ( Utf8JsonWriter  writer,
DateTime  value,
JsonSerializerOptions  options 
)

The documentation for this class was generated from the following file: