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

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.


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