Closed garySWARM closed 7 years ago
What Swift version are you using?
I just converted to Swift 3.0
Could you try if this works correctly when using an NSArray?
I just changed the type of location to: var location : NSArray? and the serializer gives the same result
This was because the value formatters defaulted to the string representation when no suitable formatter was found. I removed this, and this should work properly now. Please reopen this issue if there's still a problem.
Hi, the latest version of the library is corrupting a location value, which is defined as: var location : [Double]? and should be serialized as "location":[-73.9599,40.72087] instead, this field serializes as "location":"(\n \"-73.9599\",\n \"40.72087\"\n)"
Help please! Thanks!