/readable.json

Enter JSON and get a human-friendly representation.

Primary LanguageCSSMIT LicenseMIT

Readable JSON

This code powers readable-json.boldewyn.de. Enter JSON and get a human-friendly representation.

The code does

  • remove JSON syntax like braces and quotes
  • make object keys better readable by changing camelCase and underscores
  • parse strings for URLs, e-mail addresses, dates, ... and shows them easily understandable
  • highlight gently numbers, booleans and null as well as empty objects, arrays and strings