Take care of data conversion
Opened this issue · 0 comments
jwoertink commented
Right now, if you have a JSON API with 20 different routes, then you're calling .to_json
at the end of every single route. If we already know that you're building a JSON API, and every route should return JSON, then we should be able to just do that conversion for you.