Have you written JSON APIs in Rails a few times? Even if you’re escaped implementing a “render: :json” call, some day soon you’ll need to get JSON data out to a native client or your front-end framework. Your Rails apps might change, but the pitfalls for JSON APIs stay the same: They’re hard to discover, difficult to change from the client side, and documenting them is a pain. For your next app, o
![The GraphQL Way: A new path for JSON APIs](https://cdn-ak-scissors.b.st-hatena.com/image/square/79fe1a012861f1845c3033a76ae01464bf002e20/height=288;version=1;width=512/https%3A%2F%2Ffiles.speakerdeck.com%2Fpresentations%2Fd09b3157be884d72b64c6ad3bc2075c8%2Fslide_0.jpg%3F9834417)