json-pretty-html icon indicating copy to clipboard operation
json-pretty-html copied to clipboard

Transforms a JSON object to a pretty piece of HTML

Results 5 json-pretty-html issues
Sort by recently updated
recently updated
newest added

Functions currently throw an exception, but I use this to output a readable error object. So I don't want any exceptions from pretty print. ```js var json = { foo:...

Rendered HTML looks much better when quotes of key and string literals are a part of the same style. Included quotes inside and tags.

test: ```js var json = { "tags": ["cold", "ice", ["fire", "water"]] }; var prettyHtml = require('json-pretty-html').default; var html = prettyHtml(json, json.dimensions); ``` ```html { "tags": [ "cold", "ice", { "0":...