[swift-users] Parsing Decimal values from JSON
Rimantas Liubertas
rimantas at gmail.com
Tue Oct 31 04:32:38 CDT 2017
>
> Swift shouldn't be forced to adhere to the limitations of JavaScript. Just
> because JS doesn't know about decimals doesn't mean swift can't do better.
>
JSON does not know about decimals either. http://json.org/. If you need
some custom data type you can always pass it as a string and then handle as
needed.
Best regards,
Rimantas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171031/396a8359/attachment.html>
More information about the swift-users
mailing list