An open API service indexing awesome lists of open source software.

https://github.com/laserpants/json2tbl.js

Small script for turning a JSON object into a HTML table.
https://github.com/laserpants/json2tbl.js

Last synced: 4 months ago
JSON representation

Small script for turning a JSON object into a HTML table.

Awesome Lists containing this project

README

        

json2tbl.js
===========

Small script for turning a JSON object into a HTML table.

Very limited in functionality, yet some ancient JavaScript theorists find it useful.

Example:

```
var obj = {
name: 'JavaScript',
purpose: 'glorious'
};

$('body').append(json2tbl.build(obj));
```
Result:

```



name
JavaScript


purpose
glorious