0

My app conducts a 20-question survey for users and collects their responses in a JSON. I've saved items to DynamoDB from the app before, creating a data model as they describe. Do I have to create a data model to upload the answers from this JSON? It seems like a hassle to create a data model of ~20 fields. Is there an easier way to get this JSON from the user's phone to a DynamoDB table holding all of the users' responses?

1 Answer 1

2

DynamoDB has a map type. Put the JSON response in there.

See https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.