Published October 1, 2009 | https://doi.org/10.59350/wh227-apy53

REST Tip: Use JSONView for In-Browser JSON Syntax Highlighting

Feature image

One of the problems with working with JSON is getting a nice browser view with syntax highlighting and collapsible elements, as is possible with XML.

Over at the Metamolecular Products Blog is an example of how Chemcaster enables you to directly view JSON representations of resources in your browser with syntax highlighting.

For example, here's a representation of one of my Registries in bare JSON:

ChemCaster

The trick: install the excellent Firefox plugin JSONView and you'll have syntax highlighting, indentation, and collapsible tree representations. It's very useful for working with REST APIs that expose raw JSON.

Additional details

Description

One of the problems with working with JSON is getting a nice browser view with syntax highlighting and collapsible elements, as is possible with XML. Over at the Metamolecular Products Blog is an example of how Chemcaster enables you to directly view JSON representations of resources in your browser with syntax highlighting.

Identifiers

UUID
4443b7ae-7c61-4cf7-bc49-5a88da92ead3
GUID
https://depth-first.com/articles/2009/10/01/rest-tip-use-jsonview-for-in-browser-json-syntax-highlighting/
URL
https://depth-first.com/articles/2009/10/01/rest-tip-use-jsonview-for-in-browser-json-syntax-highlighting

Dates

Issued
2009-10-01T00:00:00
Updated
2009-10-01T00:00:00