JSON Icon

JSON

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

JSON json.pizza

Here, try some JSON.pizza (yes you read that correctly) 🍕

{ "How to use": "Paste your JSON here and press Ctrl+Enter to format!", "Help": "Check the console for errors if it fails to parse.", "Themes": "Toggle dark/light theme with Ctrl+B", "Share": "Print a shareable URL to the console with Ctrl+L", "Source": "View the source on GitHub at https://github.com/kritzware/json", "Info": "Press Ctrl+I at anytime for a reminder of these instructions" } Built with Nuxt.js.

read more

PostgreSQL blog.couchbase.com

Comparing Postgres JSONB with NoSQL

The Couchbase team did a great job putting together this fairly-reasoned analysis. It gives side-by-side comparisons of Postgres’ JSON query syntax and SQL++/N1QL, which is the query language used in Couchbase. It touches on indexes, performance, ergonomics, and finally where each is a good fit. I’ve personally found that Postgres’ JSON data types provide just enough document-orientation that I can sprinkle in where it makes sense in our data models. But, as with all things in developer-land, YMMV!

read more

Typicode jsonplaceholder.typicode.com

A fake online REST API for testing and prototyping

JSONPlaceholder is a free online REST API that you can use whenever you need some fake data. It’s great for tutorials, testing new libraries, sharing code examples, … It comes with a set of 6 common resources. You know, the usual suspects like /posts and /comments. Prefer to use your own data? The whole thing is powered by json-server, which will get you up and running in 30 seconds-ish.

read more

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

Ruby 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