[stringtemplate-interest] Generating JSON using StringTemplate

Johan Stuyts j.stuyts at javathinker.com
Tue Nov 15 05:24:49 PST 2011


> Any ideas on how this escaping can be easily achieved?

You have to specify the format option in the template, and detect it in  
the attribute renderer:
<http://www.antlr.org/wiki/display/ST/Object+rendering#Objectrendering-FormatOption>

Regards,

Johan


More information about the stringtemplate-interest mailing list