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.ParseServiceObjects Class Reference

Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. More...

Inheritance diagram for ReadingBusesAPI.Common.ParseServiceObjects:

Public Member Functions

override List< BusServiceRead (ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
 
override void Write (Utf8JsonWriter writer, List< BusService > value, JsonSerializerOptions options)
 

Detailed Description

Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter.

Member Function Documentation

◆ Read()

override List< BusService > ReadingBusesAPI.Common.ParseServiceObjects.Read ( ref Utf8JsonReader  reader,
Type  typeToConvert,
JsonSerializerOptions  options 
)

◆ Write()

override void ReadingBusesAPI.Common.ParseServiceObjects.Write ( Utf8JsonWriter  writer,
List< BusService value,
JsonSerializerOptions  options 
)

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