JSON (JavaScript Object Notation) allows for easy interchange of data, often between a program and a database.
8 Stories
All Topics

Chris Manson blog.stonecircle.io

The true power of JSON API – have someone else do it

This is an excellent post with some immediately useful takeaways (and some open source, to boot). Chris starts it with a compelling description of JSON API's value proposition: how to use JSON API as an "anti-bikeshedding weapon" Building Restful APIs requires hundreds of tiny decisions, which is like having a bike shed on every corner. Outsource the little stuff!


Ruby Icon github.com

A lightning fast JSON:API serializer for Ruby objects

The Netflix team managed to squeeze out some huge performance improvements over Active Model Serializers: We want to ensure that with every change on this library, serialization time is at least 25 times faster than Active Model Serializers on up to current benchmark of 1000 records. At first glance I thought this was a drop-in replacement for AMS, which would've been epic, but it has its own API. That being said, its API is pretty similar and looks easy to use. Exactly how much faster is this library? It can serialize 250 records in 3.01 ms vs AMS's 138.71 ms!

0:00 / 0:00