JSON Generation in Rails

Published by Damon Clinkscales (@damon) — RSS Feed | Export CSV | Embed

@hkarthik @therealadam posted on this topic recently http://t.co/I5HJMzyM
@hkarthik take a look at @h3h's Boxer https://t.co/RpXbKDIP
@hkarthik @damon I recently switched to using RABL (a json builder template) and I've been happy with it
@hkarthik read this a couple weeks ago http://t.co/v9uTUP1p
@hkarthik Looked into https://t.co/zG0qL0RF ?
@hkarthik I've been using Grape + simple "presenters" to build our JSON API for a couple months now and love it.
h3h
@hkarthik @damon At Gowalla we wrote Boxer http://t.co/gU7fyGlY; DHH wrote Jbuilder https://t.co/0Q7H5jwK; or lambdas: http://t.co/qb89C5Zw
@hkarthik @damon I'm investing roar today, in fact, and liking it. Has a Rails ext as well: http://t.co/c5wLsAm9
@damon @hkarthik Don't forget that you can create views for your json. Also look at jsonify.
@hkarthik I just blogged a few quick tidbits this morn about Grape: http://t.co/afFuFFqV
@hkarthik … plus @jnunemaker's post on creating APIs is a must read: http://t.co/sVPEbtCP
@hkarthik To clarify, I got the idea of using simple presenter classes from @jnunemaker. #creditwherecreditisdue :)
@hkarthik And if you need cross-domain access to your API, I've been using Rack::Cors with success lately as well. Need to blog that too.
jwo
@hkarthik Also look at https://t.co/Bv2KSjNE active-model-serializers by @wycats and @josevalim for JSON API decorators