Packages
ex_aws_ddb
2.1.0
IMPORTANT!!! This package is a fork of https://hex.pm/packages/ex_aws_dynamo. If you need to use ex_aws_dynamo in your project, we highly recommend that you use the original Hex package, as this package may be unexpectedly deleted in the future.
Retired package: This package was a temporary replacement for ex_aws_dynamo, and was never meant for wide use/distribution. We recommend ex_aws_dynamo.
Current section
Files
Jump to
Current section
Files
lib/ex_aws/dynamo/decodable.ex
defprotocol ExAws.Dynamo.Decodable do
@fallback_to_any true
@moduledoc """
Allows custom decoding logic for your struct.
"""
def decode(value)
end
defimpl ExAws.Dynamo.Decodable, for: Any do
def decode(value), do: value
end