theScore Tech Blog

Things We Learn While Building the Ultimate, Personalized Mobile Sports Experience

All Posts Tagged “json”

Jbuilder to AMS - A tested journey

Not everyone is creating a new Rails app from scratch. Most of us have existing ones which may use RABL, Jbuilder, or a number of other options to generate JSON responses. When we're refactoring large and important parts of our app, how can we test to ensure that refactoring doesn't change the app's behaviour? This article explores that by testing JSON endpoints as we change from Jbuilder to AMS.

6 min read
jbuilderamsjsontesting

Benchmarking JSON Generation in Ruby

Find out how RABL, ActiveModel Serializers, and plain Ruby presenters perform relative to each other when they are used to generate JSON.

7 min read
rubyjsonperformance