Transformation Template Syntax/Examples?

Is there any good resources that show various ways to transform response JSON? Most of the google links go back to tyk.io docs, but there is no samples, nothing in regards to syntax and options of the templates. I only saw few stackoverflow questions where I found how to reference keys: {{.myKeyFromResponseJson}}

I’m looking for full description of syntax, options, conditions and whatever else there may be.
Thanks!

Right, so we use Go templates - that basically means you can do anything a Go template can do. There’s no Tyk documentation on that, but I’d suggest looking around for some examples, there’s plenty of discussion on the topic (Hugo has a good write up)

There’s also a small example here for JSON and another one here for XML