I am using JBuilder as a JSON DSL. I have it working properly but cannot figure out how to pretty print JSON.
I want to use JSON.pretty_generate but that requires a string or a hash, and JBuilder is a custom JBuilder object that does not convert.
Any ideas how to pretty print JSON with JBuilder template?