Converts JSON data to HTML table with collapsible details view for nested objects.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
demo
source
LICENSE
README.md
index.css
index.html

README.md

JSON to HTML Converter

Converts JSON data to HTML table with collapsible details view for nested objects. Check site for sample outputs.

https://niksofteng.github.io/json-to-html-converter

Usage

var j2ht = new J2HConverter(<json_string>, <id_of_container_element>);
j2ht.convert();

Additionally, table attributes can be set using object:

j2ht.attributes = { class: <css_class/es> };