Expand description
Tera
Tera is a template engine based on Jinja2 and the Django template language.
See the site for features and to get started.
Macros
Compile templates or exits process
Helper macro to get real values out of Value while retaining
proper errors in filters
Structs
The struct that holds the context of a template rendering.
The Error type.
Re-export Value and other useful things from serde
so apps/tools can encode data in Tera types
Represents a JSON key/value type.
Re-export Value and other useful things from serde
so apps/tools can encode data in Tera types
Represents a JSON number, whether integer or floating point.
The main point of interaction in this library.
Enums
The kind of an error.
Re-export Value and other useful things from serde
so apps/tools can encode data in Tera types
Represents any valid JSON value.
Functions
Escape HTML following OWASP
Re-export Value and other useful things from serde
so apps/tools can encode data in Tera types
Interpret a
serde_json::Value
as an instance of type T
.Re-export Value and other useful things from serde
so apps/tools can encode data in Tera types
Convert a
T
into serde_json::Value
which is an enum that can represent
any valid JSON data.