Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add example for double bracket template escaping.

  • Loading branch information...
commit a25e1b6f564f4ac07dab9df1f48e23366f95c554 1 parent f5fabe2
@cliffano authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -67,6 +67,10 @@ The above templates will generate an XML like this:
...
</data>
+Curly brackets in templates (e.g. JSON format) need to be escaped with double brackets:
+
+ {{ "id": "{gen_id}-{worker_id}-{segment_id}", "name": "{first_name()} {last_name()}", "dob": "{date('dd-mm-yyyy')}" }}
+
Templates can contain the following parameters:
<table>
Please sign in to comment.
Something went wrong with that request. Please try again.