-
Notifications
You must be signed in to change notification settings - Fork 565
Switch to Jackson Jr #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Turns out that moving to Jackson Jr is too big a breaking change for a minor release. The |
import com.fasterxml.jackson.core.JsonParseException; I was trying to utilize LambdaContainerHandler for RequestHandler but noticed that these are required. Could these dependencies at least be extracted out so that the dependencies don't have to introduced for vain. An abstract base class that would not have objectReader/Writer, proxyStream would be enough and the LambdaContainerHandler would be extended from this base class preserving the backward compatibility. This would also make it possible to leave s the requestClass, responseClass constructor params out from the base class thus simplifying thing a bit. |
It is something we plan to do for a version 2.0. The challenge today is that the |
Custom serialization is now available to use: https://docs.aws.amazon.com/lambda/latest/dg/java-custom-serialization.html |
Remove heavy-weight
ObjectMapper
for common proxy events and switch to Jackson JrThe text was updated successfully, but these errors were encountered: