Class ChannelFullModeJsonConverter
- Assembly
- Crosser.EdgeNode.Flows.Abstractions.dll
public class ChannelFullModeJsonConverter : JsonConverter<BoundedChannelFullMode>
- Inheritance
-
ChannelFullModeJsonConverter
- Inherited Members
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type BoundedChannelFullMode.
public override BoundedChannelFullMode Read(ref Utf8JsonReader reader, Type type, JsonSerializerOptions options)
Parameters
readerUtf8JsonReaderThe reader.
typeTypeoptionsJsonSerializerOptionsAn object that specifies serialization options to use.
Returns
- BoundedChannelFullMode
The converted value.
Write(Utf8JsonWriter, BoundedChannelFullMode, JsonSerializerOptions)
Writes a specified value as JSON.
public override void Write(Utf8JsonWriter writer, BoundedChannelFullMode value, JsonSerializerOptions options)
Parameters
writerUtf8JsonWriterThe writer to write to.
valueBoundedChannelFullModeThe value to convert to JSON.
optionsJsonSerializerOptionsAn object that specifies serialization options to use.