Class KeyboardShortcut.JsonConverter
- Namespace
- PAC.KeyboardShortcuts
Custom JSON converter for KeyboardShortcut.
public class KeyboardShortcut.JsonConverter : JsonConversion.JsonConverter<KeyboardShortcut, JsonData.List>
- Inheritance
-
KeyboardShortcut.JsonConverter
- Inherited Members
Methods
FromJson(List)
Attempts to convert the JSON data into a C# object of the given type.
NOTE: JsonConverter has a default implementation for an overload FromJson(JsonData jsonData) that ensures it is of type JsonDataType before calling the specific overload FromJSON(JsonDataType jsonData).
public override KeyboardShortcut FromJson(JsonData.List jsonData)
Parameters
Returns
ToJson(KeyboardShortcut)
Attempts to convert the C# object into JSON data.
public override JsonData.List ToJson(KeyboardShortcut keyboardShortcut)
Parameters
keyboardShortcut
KeyboardShortcut