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.
- Host: GitHub
- URL: https://github.com/laserpants/json2tbl.js
- Owner: laserpants
- Created: 2014-08-11T22:14:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-03T10:58:51.000Z (almost 11 years ago)
- Last Synced: 2025-01-17T09:47:10.284Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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