Table of Contents

Class KeyJsonConverter

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Support for Key in JSON in the form of "Ctrl-X" or "Alt-Shift-F1".

public class KeyJsonConverter : JsonConverter<Key>
Inheritance
KeyJsonConverter
Inherited Members

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type Key.

Write(Utf8JsonWriter, Key, JsonSerializerOptions)

Writes a specified value as JSON.