SpencerHaan / queuebacca

Apache License 2.0
5 stars 0 forks source link

Look at replacing Jackson with Moshi #45

Open SpencerHaan opened 4 years ago

SpencerHaan commented 4 years ago

After reviewing this, I think the right direction here would be to remove the need for a serializer for SQS redrive policies and instead just manually format the JSON (it's very small). Then use Moshi as the default JSON serializer for the SqsClient.

SpencerHaan commented 4 years ago

Looks like I can't get rid of it yet because Message.class is being passed into the serializer explicitly. Jackson is trying to deserialize Message and expecting the JsonTypeInfo to be on it. So, I have to remove the Message first. See ticket #7