<p>When I sat down to write my first API with Rails, I was overwhelmed with the
abundance of options available to me. From ActiveModel::Serializers to
JBuilder to Rabl to simply calling <code>.as_json</code>, just choosing which library
to use for rendering JSON was…</p>

Read more at the source