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.
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.