SmokeTest v0.1.1 SmokeTest.Adapters.JSONEncoder behaviour View Source

A basic adapter for a JSON encoder. Returns JSON, or raises an error.

Link to this section Summary

Callbacks

Encodes data into a binary

Link to this section Types

Link to this type encoded() View Source
encoded() :: binary()

Link to this section Callbacks

Link to this callback encode!(term, arg1) View Source
encode!(term(), Keyword.t()) :: encoded() | no_return()

Encodes data into a binary.