Closed effiban closed 2 years ago
@yuliarotenshtein - FYI
this pull request #38 might help but it's not merged yet. I will evaluate it again since many people request this feature
@effiban the code is merged. It will be available in version 1.6.3
@wanglingsong - that's great, thanks!
Hi, In our project we need to deserialize Json objects containing very large integers (greater than max of
long
). I would expect the parser to be able to handle such an integer and produce aBigInteger
, however instead we get an exception:It appears that a custom deserializer is needed, but there doesn't seem to be any way to define it, or else I couldn't find the documentation.
(NOTE - we are actually using Alpakka's JSON support which uses JSurfer internally, so this might require a corresponding change on their end as well).
Any thoughts? Thanks