【文件属性】:
文件名称:Minced:将 JSON 键转换为驼峰式大小写
文件大小:15KB
文件格式:ZIP
更新时间:2021-06-11 20:09:46
Objective-C
剁碎
切碎是一种食物制备技术,其中将食物成分精细地分成均匀的块。
Minced 将 JSON 键转换为驼峰式大小写,并添加了对用空字符串替换 JSON 空值的支持。
这对于在使用 Realm 时避免因空值而导致崩溃的解决方法特别有用。 更多信息:
用法
// Converts all the keys in the JSON to camelCase
- ( id )minced_JSONKeys;
- ( NSArray *)minced_JSONObjectsKeys;
- ( NSDictionary *)minced_JSONObjectKeys;
// Converts all the keys in the JSON to camelCase and replaces null values with an empty string
- ( id )minced_JSO
【文件预览】:
Minced-master
----.travis.yml(192B)
----Minced.podspec(622B)
----CONTRIBUTING.md(508B)
----LICENSE.md(1KB)
----.gitignore(309B)
----Source()
--------NSObject+HYPMinced.m(2KB)
--------NSObject+HYPMinced.h(300B)
----Tests()
--------Tests.xcworkspace()
--------Podfile(121B)
--------Podfile.lock(268B)
--------Tests.xcodeproj()
--------Tests()
----README.md(2KB)