View Source AWS.JSON behaviour (aws-elixir v1.0.4)
Specifies the behaviour of a JSON parser.
You can switch the default JSON parser which uses Jason underneath
by defining a different implementation by setting the :json_module
configuration in AWS.Client:
client = %AWS.Client{json_module: MyCustomJSONParser}
AWS.SNS.publish(client, %{})
Link to this section Summary
Callbacks
Decodes a JSON into a map. Raises in case of errors.
Encodes a map into JSON iodata. Raises in case of errors.
Link to this section Callbacks
Decodes a JSON into a map. Raises in case of errors.
Encodes a map into JSON iodata. Raises in case of errors.
Link to this section Functions
See Jason.decode!/2
.
See Jason.encode!/2
.