ExAws v1.1.2 ExAws.Dynamo.Decoder

Summary

Functions

Converts a map with binary keys to the specified struct

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

Convert dynamo format to elixir

Decodes a dynamo response into a struct

Functions

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(map)

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.

decode(item, list)

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.