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
I think this is not supported by Vavr Jackson yet. Returning Try<T> instead of T requires new serializer and deserializer. The deserializer will be able to modify the existing type T and encapsulate it into Try<T>, in both success and failure cases. However, this is a completely new feature. What do you think, @ruslansennov and @danieldietrich ?
I believe a simplified version of @smarijic 's request is:
Looks like Option, and can be implemented in the same ugly way. But I believe that these new serializer and deserializer have more rights to life than mutable Iterator (see #130)
Thank you, @ruslansennov . Could you give some additional hints about the changes to make? I didn't fully understand the exception shown at issue 130. I'll take a look in the coming days and get back to you.
Hi,
Is there a way to return Try from static factory annotated with @JsonCreator?
Here is question on SO. https://stackoverflow.com/questions/53917859/jackson-jsoncreator-return-generics
Thanks.
The text was updated successfully, but these errors were encountered: