开发者

raw json to html table format

I want to display raw json in tabular format, I have seen jq开发者_C百科uery plugins but that need heading/labels to display, In my case, its not predefined ( means anything possible in json).

How can I display that in HTML table format ?


I found this engine on Hacker News today, it might be what you're looking for.

Tempo - a tiny JSON rendering engine


jQuery JSON-to-table plugin (demonstration) is a jQuery plugin that can represent hierarchical data (JSON) in HTML table.

The script is developed to handle all data types passable through JSON. At any time only one level of data is shown. The data tree can be navigated from node-to-node without refreshing the page.

https://github.com/anuary/jquery-json-to-table

This script exactly that – it allows you to display raw JSON data in HTML table without any pre-defined templates.


You can also use this simple project on Github : Json-To-HTML-Table

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜