[{"name":"Mustache","comment":"\n\n# Parse and render\n@docs Ast, render, parse, renderParsed\n\n# Niche usecases\n@docs htmlEscape, Context, lookup, interpolate, section, invertedSection\n","unions":[],"aliases":[{"name":"Ast","comment":" The AST type.\n","args":[],"type":"List.List Mustache.AstNode"},{"name":"Context","comment":" The *context* is a list of *hashes* (both of these terms are specified in the mustache specification) with the head of the list being the innermost hash.\n","args":[],"type":"List.List Json.Decode.Value"}],"values":[{"name":"htmlEscape","comment":" Escape the special HTML characters `&`, `\"`, `<` and `>`. This function is used when rendering values in normal variable tags.\n","type":"String.String -> String.String"},{"name":"interpolate","comment":" Interpolate a JSON value into a string. This function is used when inserting a JSON value into a mustache variable.\n","type":"Maybe.Maybe Json.Decode.Value -> String.String"},{"name":"invertedSection","comment":" Render a mustache inverted section. This is only intended to be used by preparsed templates generated with the `elm-mustache` CLI tool\n","type":"Mustache.Context -> Mustache.Name -> (Mustache.Context -> String.String) -> String.String"},{"name":"lookup","comment":" Given a *context*, lookup a value in it. The lookup rules follows the ones outlined in the mustache specification.\n","type":"Mustache.Context -> Mustache.Name -> Maybe.Maybe Json.Decode.Value"},{"name":"parse","comment":" Parse — but don't render — a template. Useful if you want to use the same template many times with different hashes.\n","type":"String.String -> Result.Result (List.List Parser.DeadEnd) Mustache.Ast"},{"name":"render","comment":" This is probably the one function you'll want to use. Expects a mustache template string and a JSON object to use as a hash.\n","type":"String.String -> Json.Decode.Value -> Result.Result (List.List Parser.DeadEnd) String.String"},{"name":"renderParsed","comment":" Once a template has been parsed with `parse` it can be rendered with this function.\n","type":"Mustache.Ast -> Json.Decode.Value -> String.String"},{"name":"section","comment":" Render a mustache section. This is only intended to be used by preparsed templates generated with the `elm-mustache` CLI tool\n","type":"Mustache.Context -> Mustache.Name -> (Mustache.Context -> String.String) -> String.String"}],"binops":[]}]