JSON Icon

JSON

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!

read more...

Opeyemi Obembe obem.be

Formatting tweets – a look at extended tweets, retweets, and quotes

To display a tweet properly, it needs to be well formatted. This means identifying and linking entities like usernames, hashtags and URLs. In simple terms, it is converting a typical tweet object like this... It is dizzying how complex the tweet data structure has become over the years. We've come a long way from 140 characters of unicode.

read more...

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!

read more...
0:00 / 0:00