You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examplewith: { "someString" : "9223372036854775807" } Optional<Long> successfully deserializes while LongDeserializer OptionalLong does not.
It is due to the first deserializing with NumberDeserializers.LongDeserializer using _parseLong(p, ctxt)
while the latter is deserialized with OptionalLongDeserializer using jp.getLongValue.
The text was updated successfully, but these errors were encountered:
lrpg
changed the title
Optional<Long
Optional<Long> deserialization and OptionalLong deserialization is not consistent
Mar 3, 2017
lrpg
changed the title
Optional<Long> deserialization and OptionalLong deserialization is not consistent
Optional<Long> and OptionalLong deserialization are not consistent when deserializing from String.
Mar 3, 2017
Examplewith:
{ "someString" : "9223372036854775807" }
Optional<Long>
successfully deserializes while LongDeserializerOptionalLong
does not.It is due to the first deserializing with
NumberDeserializers.LongDeserializer
using_parseLong(p, ctxt)
while the latter is deserialized with
OptionalLongDeserializer
usingjp.getLongValue
.The text was updated successfully, but these errors were encountered: