2 Answers
- Newest
- Most votes
- Most comments
1
This is because you are using the low level client. You need to use the document client or use the unmarshalling util. I think you'll be much happier with the document client. Here is an example of what you want to do.
answered 2 years ago
0
Hi, @GilbertS
You can do martial / unmarshal between native JSON and DynamoJSON by using the "@aws-sdk/util-dynamodb" module.
Relevant content
- Accepted Answerasked a year ago
- Accepted Answerasked 4 months ago
- Accepted Answerasked 5 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
I wrote the following verification article. Please have a look.
https://dev.classmethod.jp/articles/js-dynamodb-json-marshall-unmarshall/