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.
Kimono – Turn websites into structured APIs from your browser in seconds
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 …