How to extend Swift 5 JSONEncoder to handle precision

后端 未结 0 1332
自闭症患者
自闭症患者 2021-02-10 11:02

I have a problem where I need to encode a floating point value into JSON that maintains precision. For example, if the precision is to the hundredths, the value in the JSON stri

相关标签:
回答
  • 消灭零回复
提交回复
热议问题