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 have overriden RequestHandler<I, O> with my lambda. All the jackson's annotations in my pojo (PreSignUpEvent) are ignored (Tested with JsonProperty so far). => The attributes that does not require an annotation are correctly deserialized (Because the attribute's name is the same than the object attribute's name) but not the ones with 2 different names (that's why I need to use JsonProperty annotation)
I'm using jackson v2 annotations.
I tried with RequestStreamHandler, calling in my lambda 'new ObjectMapper().readValue(InputStream, MyPojo.class)' and it worked. The annotations are taken into account.
My pojo and the lambda (just for the example here, I tried with the field 'version' -> versionn):
From @botbfr, aws/aws-sdk-java#2453.
Describe the issue
I have overriden RequestHandler<I, O> with my lambda. All the jackson's annotations in my pojo (PreSignUpEvent) are ignored (Tested with JsonProperty so far). => The attributes that does not require an annotation are correctly deserialized (Because the attribute's name is the same than the object attribute's name) but not the ones with 2 different names (that's why I need to use JsonProperty annotation)
I'm using jackson v2 annotations.
I tried with RequestStreamHandler, calling in my lambda 'new ObjectMapper().readValue(InputStream, MyPojo.class)' and it worked. The annotations are taken into account.
My pojo and the lambda (just for the example here, I tried with the field 'version' -> versionn):
logs:
{"region":"eu-west-1"}
and version is ignored.Do you have any idea ? Is it link to a reflection issue ?
Steps to Reproduce
Override
RequestHandler<I, O>
lambda,Create a pojo that needs annotations to be deserialized
The text was updated successfully, but these errors were encountered: