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.ParseOperatorConverter 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.ParseOperatorConverter:

Public Member Functions

override Company Read (ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
 
override void Write (Utf8JsonWriter writer, Company 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 Company ReadingBusesAPI.Common.ParseOperatorConverter.Read ( ref Utf8JsonReader  reader,
Type  typeToConvert,
JsonSerializerOptions  options 
)

◆ Write()

override void ReadingBusesAPI.Common.ParseOperatorConverter.Write ( Utf8JsonWriter  writer,
Company  value,
JsonSerializerOptions  options 
)

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