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

JSON github.com

JSONC is a superset of JSON which supports comments

JSON formatted files are readable to humans but the lack of comments decreases readability. With JSONC, you can use block (/* */) and single line (//) comments to describe the functionality. Microsoft VS Code also uses this format in their configuration files like settings.json, keybindings.json, launch.json, etc. This is a Go-only implementation, but the concept is portable to any language (hint, hint).

read more

JSON github.com

Free HTTP based JSON storage

A HTTP based JSON storage. It lets you store, read & modify JSON data over HTTP APIs for FREE. Ideal for small projects, prototypes or hackathons where you don’t have to spin up your own data store. Please don’t store anything mission critical here, but like the quote above says this could be a nice option when you just need a place to temporarily dump some data you’re working with. Simply grab a BOX_ID from the homepage and then POST away: curl -X POST 'https://jsonbox.io/$BOX_ID' \ -H 'content-type: application/json' \ -d '{"name": "Schrute", "position": "Assistant (to the) Regional Manager"}'

read more

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