ExAws.Dynamo.Decoder

Source

Summary

binary_map_to_struct(bmap, module)

Converts a map with binary keys to the specified struct

binary_to_number(binary)

Attempts to convert a number to a float, and then an integer

decode(arg1)

Convert dynamo format to elixir

decode(item, list2)

Decodes a dynamo response into a struct

Functions

binary_map_to_struct(bmap, module)

Converts a map with binary keys to the specified struct

Source
binary_to_number(binary)

Attempts to convert a number to a float, and then an integer

Source
decode(arg1)

Convert dynamo format to elixir

Functions which convert the dynamo style values into normal elixir values. Use these if you just want the dynamo result to look more like elixir without coercing it into a particular struct.

Source
decode(item, list2)

Decodes a dynamo response into a struct.

If Dynamo.Decodable is implemented for the struct it will be called after the completion of the coercion.

This is important for handling nested maps if you wanted the nested maps to have atom keys.

Source