You have a also mustaside a bridge between mustache and seaside. On Mon, Aug 21, 2017 at 5:52 PM, H. Hirzel <hannes.hirzel@gmail.com> wrote:
Hello
The TeaPot documentation [1] references Mustache [2] in the section
4.1. Response Transformers [3]
There is an example for a JSON transformation but none for Mustache.
Where do I find some information how to use Mustache together with Teapot?
Regards Hannes
[1] https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfu...
[2] https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfu...
[3] The responsibility of a response transformer is to convert the output of the action block to HTML and to set the content-type of the response. Some response transformers require external packages (e.g., NeoJSON, STON, Mustache).
[4] Adapted example
TLWebserver teapot GET: '/jsonlist' -> #(1 2 3 4); output: #json.