Kuddle (Kuddle v0.1.0) View Source

Kuddle is a KDL (https://github.com/kdl-org/kdl) encoder and decoder.

Link to this section Summary

Functions

Select allows searching a document list for particular nodes by name, attributes or name and attribute.

Link to this section Types

Link to this section Functions

Specs

decode(String.t()) :: {:ok, document(), rest :: String.t()} | {:error, term()}

See Kuddle.Decoder.decode/1.

Specs

encode(document()) :: {:ok, String.t()} | {:error, term()}

See Kuddle.Encoder.encode/1.

Specs

select(document(), Kuddle.Path.path()) :: document()

Select allows searching a document list for particular nodes by name, attributes or name and attribute.