Class CustomKeyCode.JsonConverter
- Namespace
- PAC.KeyboardShortcuts
Custom JSON converter for CustomKeyCode.
public class CustomKeyCode.JsonConverter : JsonConversion.JsonConverter<CustomKeyCode, JsonData.String>
- Inheritance
-
CustomKeyCode.JsonConverter
- Inherited Members
Methods
FromJson(String)
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 CustomKeyCode FromJson(JsonData.String jsonData)
Parameters
Returns
ToJson(CustomKeyCode)
Attempts to convert the C# object into JSON data.
public override JsonData.String ToJson(CustomKeyCode keyCode)
Parameters
keyCode
CustomKeyCode