Hello :)

I am trying to find a way to parse a number as Decimal without losing the 
number's precision.

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.

Does anyone know if there is a way to obtain the raw data for this specific 
field so I can write the conversion code?

Thanks,
Evtim

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to