JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. JWT.IO allows you to decode, verify and generate JWT. A handy NPM package to encode/sign and decode/verify JSON Web Tokens is jsonwebtoken. JWT.io → jsonwebtoken →
Tag Archives: json
jq – flexible command-line JSON processor.
jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. Here’s a short demo, without and with jq: jq → jq tutorial → try jq online →
Kimono – Turn websites into structured APIs from your browser in seconds
Build an API in seconds with kimono to power your apps, models and visualizations with live data without writing any code Kiono →
DocJSON – JSON HyperMedia Documents
A DocJSON document consists of standard JSON with the addition of a set of hypermedia controls that are used to express the actions that may be taken. DocJSON is a flexible document format that does not impose any structural restrictions either on the data representation style or on the layout of hypermedia controls used within …
JSON API
{ “links”: { “posts.author”: { “href”: “http://example.com/people/{posts.author}”, “type”: “people” }, “posts.comments”: { “href”: “http://example.com/comments/{posts.comments}”, “type”: “comments” } } “posts”: [{ “id”: “1”, “title”: “Rails is Omakase”, “links”: { “author”: “9”, “comments”: [ “1”, “2”, “3” ] }, { “id”: “2”, “title”: “The Parley Letter”, “links”: { “author”: “9”, “comments”: [ “4”, “5” ] }, { …
JSON.stringify()’s arguments
JSON.stringify() has more than one argument: value – the value one wants to convert to a string replacer – an array or a function to filter fields space – the number of spaces (or a string) to use for indentation var person = {“name”:”Jim Cowart”,”location”:{“city”:{“name”:”Chattanooga”,”population”:167674},”state”:{“name”:”Tennessee”,”abbreviation”:”TN”,”population”:6403000}},”company”:”appendTo”}; JSON.stringify(person, [“name”, “company”], 4); /* produces: “{ “name”: “Jim Cowart”, …
Simple REST API Explorer
Just pushed a new project to GitHub named Simple REST API Explorer, a simple way to showcasing and exploring all endpoints of your RESTful API. The demo allows you to call some Twitter API endpoints a sample RESTful API I’ve quickly knocked up as the Twitter API is rather unstructured. Update the index.html file to …