How do you all unpack dynamodb data? I know that it is easy But I would like to know if you already have libraries ready, or maybe within the aws api itself
This is a nice, small, single source file library for working with ddb (using aws-api): https://github.com/ctorrisi/franklin/blob/master/src/franklin/core.clj I took a lot of inspiration from that last time i worked with ddb
What do you mean specifically by “unpack”? I’ve worked with dynamodb from Clojure but it’s been a while. Are you using the Java libraries?
dynamodb always expect (on insertion) and returns structures like {:id {:S "123213-3213-32131"} :addresses {:V [{:M {:zip "123434"}}]}} (with extra :S before string, extra :M before maps, etc)