zio/zio-json

Scala-js encoding not consistent with jvm encoding

ThijsBroersen opened this issue · 1 comments

I encountered a difference between encoding a double with zio-json.

  • jvm encodes a round double including the 1 decimal, e.g1.0 to 1.0
  • scala-js encodes a round double to an int-like number, e.g 1.0 to 1

@ThijsBroersen I see that your PR has been merged. Can we close this issue now?