Sassone.Encoder protocol (Sassone v1.0.1)

View Source

Protocol for encoding values in XML content.

Default implementations are provided for built-in data types.

Summary

Functions

Encodes a value to a string for representation in XML.

Types

t()

@type t() :: term()

Functions

encode(t)

@spec encode(t()) :: String.t() | [String.t()]

Encodes a value to a string for representation in XML.