-+(TargetKeyboard*) unstringifyImpl: (NSArray*) comps {
- NSParameterAssert([comps count] == 3);
- TargetKeyboard* target = [[TargetKeyboard alloc] init];
- [target setVk: [comps[1] integerValue]];
- [target setDescr: comps[2]];
- return target;
++ (Target *)targetDeserialize:(NSDictionary *)serialization
+ withConfigs:(NSArray *)configs {
+ TargetKeyboard *target = [[TargetKeyboard alloc] init];
+ target.vk = [serialization[@"key"] intValue];
+ return target;