Open
Description
Script to reproduce:
//> using dep "io.circe::circe-core::0.14.10"
//> using dep "io.circe::circe-parser::0.14.10"
////> using dep "io.circe::circe-jawn::0.14.10"
import io.circe.Json
import io.circe.parser._
//import io.circe.jawn._
println(parse("[9007199254740993,9999999999999999999]").getOrElse(null))
Store it to script.js
and use the following command to build with latest scala-cli
:
scala-cli --power package --js --js-mode release script.sc --force -o script.js
Result of running with node
:
[
9007199254740992,
10000000000000000000
]
Expected output:
[
9007199254740993,
9999999999999999999
]
Works fine with circe-jawn
instead of circe-parser
, or using JVMs or Scala Native.
Metadata
Metadata
Assignees
Labels
No labels