Docs
OverviewTemplate SyntaxQuick Guide

Resources

Source code

Modifiers

Text
Casing
lowerslugtitletitle_modelupper
Edit
concatreplacereplace_patternreverseshortenwrap
Split & join
joinlinessplit
Trim
trimtrim_prefixtrim_suffix
Escape
escape_htmlescape_jsescape_url
Format
currencydecimalformatlengthline_numbers
Collections
Access
findfirstkeylastpluck
Query
filterhasis
Transform
flattenmapmergesortsum
Files & paths
File
file
Path
dirnameextext_dotext_prependext_trimfilename
Convert
Parse
from_csvfrom_jsonfrom_yaml
Serialize
jsonmarkdownyaml
Logic
Compare
eqgtgtenot
Default
default
Render
Template
template
Docs/Sintax/Convert/Parse

Parse

Read JSON, YAML, and other formats into values.

Parse

from_csvParses a CSV string into a list of rows, so a serialized table (a report export, a spreadsheet dump) becomes data that later template steps can filter and pluck.{{ body | from_csv }}from_jsonParses a JSON object string into a map, so a serialized payload (an API response body, a config blob) becomes data that later template steps can index into.{{ body | from_json }}from_yamlParses a YAML document into a map, so a config file or a manifest becomes data that later template steps can index into.{{ body | from_yaml }}
Edit or read the source on GitHub
PreviousConvertNext from_csv

Built with in Vilnius, Lithuania Say hello!

ProductsOpen sourceDocs GitHub