InfluxEx.JSONLibrary behaviour (influx_ex v0.3.1)
Behaviour for a JSON library that InfluxEx
can use to encode and decode JSON
payloads
Link to this section Summary
Callbacks
Parse a JSON encoded string into an Elixir map
Encode an Elixir map into a JSON encoded string
Link to this section Types
@type t() :: module()
A module that implements this behaviour
Link to this section Callbacks
Link to this callback
decode(binary)
Parse a JSON encoded string into an Elixir map
Link to this callback
encode(map)
Encode an Elixir map into a JSON encoded string