Decree.Store.JsonSerializer (decree v0.1.0)

Copy Markdown View Source

A serializer that uses the JSON format.

Summary

Functions

Deserialize given JSON binary data to the expected type.

Whether the type names a loaded struct module, the only types deserialize/2 can build.

Serialize given term to JSON binary data.

Functions

deserialize(binary, config)

Deserialize given JSON binary data to the expected type.

known_type?(type)

Whether the type names a loaded struct module, the only types deserialize/2 can build.

serialize(term)

Serialize given term to JSON binary data.