Plurrrr

a tumblelog
02 Oct 2019

Firefox JSON viewer

Today I found out by accident that (a recent version of) Firefox comes with a very handy JSON viewer:

Firefox includes a JSON viewer. If you open a JSON file in the browser, or view a remote URL with the Content-Type set to application/json, it is parsed and given syntax highlighting. Arrays and objects are shown collapsed, and you can expand them using the "+" icons.

The JSON viewer provides a search box that you can use to filter the JSON.

You can also view the raw JSON and pretty-print it.

Finally, if the document was the result of a network request, the viewer displays the request and response headers.

Source: JSON viewer.

Firefox JSON Viewer
Firefox JSON viewer showing the JSON feed for this site.

For more information about JSON feeds, see JSON feed which has the specification and a feed validator.

Version 2.5.0 of tumblelog has been released

In the evening I pushed version 2.5.0 of tumblelog to GitHub. This version adds an RSS feed. Also, the variable feed-url has been replaced with json-feed-url and two new variables have been added: rss-feed-url and description. The latter is set with the new, required option --description and is used to set the feed description of both types of feed. Of course this variable can also be used in your template.