[swift-users] Parsing Decimal values from JSON

Rimantas Liubertas rimantas at gmail.com
Mon Oct 30 05:02:29 CDT 2017


>
> It seems that the JSON decoder parses it as Double then converts it to
> Decimal which introduces errors in the parsing. That behavior is in fact
> incorrect.
>

Why do you say that? JS in JSON stand for JavaScript, and Javascript has
now idea about neither Decimal nor Integer numbers.


Best regards,
Rimantas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171030/df129451/attachment.html>


More information about the swift-users mailing list