As part of the team, we are creating a RoR application that is fully managed through the API. We already have a web application, it's just that we now want to make it a fully manageable API. First, we started using RABL Templates to generate a JSON response. We recently noticed that using JSON Builder as an alternative to RABL, our response time increased by about half a second to call the API in our application, users were most often affected. Before making the final call for the decision to use JSON Builder to promote our API, I just wanted to learn about the advantages and disadvantages of using RABL and JSON. In addition, it would be nice to compare the two templating engines , while basically maintaining performance when possible.
It will also be useful to use any relevant links.
Please let me know your impressions of using both of these template engines. Thanks.
source share