Configure input from JSON
You can load actions as JSON in the form of a set of action maps or as a full InputActionAsset. This also works at runtime in the Player.
// Load a set of action maps from JSON.
var maps = InputActionMap.FromJson(json);
// Load an entire InputActionAsset from JSON.
var asset = InputActionAsset.FromJson(json);