json.human.js: Json Formatting for Human Beings

Provide JSON and get a DOM node with a human representation of that JSON.

Why?

At Event Fabric we need to display JSON to people from all technical levels without being too technical but also without losing information about the underlying JSON object.

How?

you can see js/demo.js in the repo for an example, here is a short one

        var node = JsonHuman.format(input);
        output.appendChild(node);
        

Try it

edit the JSON and click Convert

Input: JSON

Output: HTML

Raw HTML

License?

MIT

Alternatives