pinchpi_lib_json (pinchpi v0.1.0)

Summary

Functions

decode(Bin, Assoc)

-spec decode(binary(), boolean()) -> term().

decode(Bin, Assoc, Ctx)

-spec decode(binary(), boolean(), pinchpi_context:ctx() | undefined) -> term().

encode(Value)

-spec encode(term()) -> binary().

encode(Value, Ctx)

-spec encode(term(), pinchpi_context:ctx()) -> binary().

validate(Bin)

-spec validate(term()) -> boolean().