Join Slack
Powered by
<@U0B8ZP13Q> Curiosity, what are your thoughts on ...
# klaxon
j
jlleitschuh
10/19/2018, 4:56 PM
@cedric
Curiosity, what are your thoughts on Klaxon throwing an exception when you call
JsonObject.int("some_field")
and the value wraps? Ie. the field that your pulling from is larger than an
Int
can store? Currently,
Number::toInt
just wraps. Eg:
Long.MAX_VALUE.toInt() == -1
6
Views
Open in Slack
Previous
Next