Commit 305b363c authored by 李震's avatar 李震

驼峰命名

parent 01159b28
......@@ -9,4 +9,11 @@
@implementation GMShareBaseObject
+ (JSONKeyMapper*)keyMapper {
/**将类似"order_id": 104的json 解析成 @property (assign, nonatomic) int orderId;
即使修改为驼峰命名法
*/
return [JSONKeyMapper mapperFromUnderscoreCaseToCamelCase];
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment