8000 Long value incorrectly decoded on Scala.js · Issue #393 · circe/circe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Long value incorrectly decoded on Scala.js #393
Closed
@tindzk

Description

@tindzk

The following test case fails on Scala.js:

import cats.data.Xor
import io.circe.generic.auto._
import io.circe.parser._
import io.circe.syntax._

val num = 767946224062369796L
val json = num.asJson.noSpaces
assert(decode[Long](json) == Xor.Right(num))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0