View Source Yggdrasil.Transformer.Json (Yggdrasil v6.0.3)
JSON Yggdrasil transformer using the library Jason.
Link to this section Summary
Link to this section Functions
Returns a specification to start this module under a supervisor.
arg is passed as the argument to Task.start_link/1 in the :start field
of the spec.
For more information, see the Supervisor module,
the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.
Decodes a JSON from a binary message. The channel is ignored.
Encodes some data to a JSON binary. The channel is ignored.
@spec register() :: :ok
Registers transformer in Registry.
Start task to register the transformer in the Registry.