csharp
public sealed class RealmVersionJsonConverterHow RealmVersion crosses the service plane.
Remarks
A converter rather than a shape, because the version pair already has one canonical spelling — 0.1.0+c0ffee — that a command line, a log line, a grain key and now a JSON document all use. A second spelling as an object with two fields would be a second thing to keep in step.
Methods (2)
public override RealmVersion Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)Reads and converts the JSON to type .
public override void Write(Utf8JsonWriter writer, RealmVersion value, JsonSerializerOptions options)Writes a specified value as JSON.
Used by (2)
- GateJsonVixen.Live.Abstractions
- RealmVersionVixen.Live.Abstractions