Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java: Latest JMustache breaks bigDecimalAsString #3754

Closed
wienczny opened this issue Sep 8, 2016 · 2 comments
Closed

Java: Latest JMustache breaks bigDecimalAsString #3754

wienczny opened this issue Sep 8, 2016 · 2 comments
Milestone

Comments

@wienczny
Copy link
Contributor

wienczny commented Sep 8, 2016

The commit samskivert/jmustache@9eda17f changes the default escape characters used by JMustache. This breaks the code-generation of bigDecimalAsString in the Java language because the annotation
@JsonSerialize(using = ToStringSerializer.class)
is written as
@JsonSerialize(using = ToStringSerializer.class)

You could avoid this by disabling the escaper in JMustache

@wing328
Copy link
Contributor

wing328 commented Sep 8, 2016

What about using {{{ tag_name }}} (or {{& tag_name }}) for the unescape value instead ?

@wienczny
Copy link
Contributor Author

wienczny commented Sep 8, 2016

I didn't know the triple mustache. This should work, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants