boto3
boto3 copied to clipboard
Unmarshall JSON Response from DynamoDB
Is there a way with boto3 to unmarshall a json response from querying dyanmodb? I want to avoid having to import another module like https://pypi.org/project/dynamodb-json/
While we do have an abstraction for this. This class is considered internal so there is a chance that it subjected to breaking changes in the future. Otherwise marking this as a feature request to publicly expose our DynamoDB marshallers/unmarshallers.
Any updates on whether this functionality has been made public?
Also very much interested in this functionality
I'm interested in this feature too.
+1
Interested this too
+1
+1
I don't understand why this is taking so long to expose. After all the other language SDK's have this functionality exposed
I actually came across this issue as well. I was never able to get the TypeDeserializer to work correctly. I ended up rewriting my logic to take advantage of the Table Resource in dynamodb. Only way I was able to get my API to return the results correctly. Idk if that helps or not. Just throwing it out there.
TypeSerializer and TypeDeserializer are documented here: https://boto3.amazonaws.com/v1/documentation/api/latest/_modules/boto3/dynamodb/types.html
I think this example is what was requested but this comment mentioned earlier still stands:
This class is considered internal so there is a chance that it subjected to breaking changes in the future. Otherwise marking this as a feature request to publicly expose our DynamoDB marshallers/unmarshallers.
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.