[Swift-user] Silly question about mappers

Lorenzo Pesce lpesce at uchicago.edu
Thu Dec 13 11:14:36 CST 2012


When I use a simple mapper, integers are mapped as 4 digit numbers, e.g., as "0003".
Is there a way to force the mapper to just use "3", i.e., discard the preceding "0"?

Thanks

Lorenzo


More information about the Swift-user mailing list