Reputation: 4506
This is a simple question. What is the best way to render a boolean value of an object as '0' or '1' in a template in the Play Framework.
I am creating an XML structure, and the receiving side expect 1 or 0 and not the string 'true' or 'false'.
Upvotes: 0
Views: 286