react-native-navigation的迁移库

1234567891011
  1. #import "NumberParser.h"
  2. #import "NullNumber.h"
  3. @implementation NumberParser
  4. + (Number *)parse:(NSDictionary *)json key:(NSString *)key {
  5. return json[key] ? [[Number alloc] initWithValue:json[key]] : [NullNumber new];
  6. }
  7. @end