tristanhimmelman / ObjectMapper

Simple JSON Object mapping written in Swift
MIT License
9.14k stars 1.03k forks source link

move Mapper static func to MapperParse #1061

Open yixiaojichunqiu opened 5 years ago

yixiaojichunqiu commented 5 years ago

later code,when i use public static func toJSONString(_ JSONObject: Any, prettyPrint: Bool) -> String? very inconvenient. Mapper use generic and these func will happen Generic parameter 'N' could not be inferred.I think these static func not in Mapper will be better.