All Projects → jongha → Jquery Jsontotable

jongha / Jquery Jsontotable

Licence: mit
This plugin can convert JSON data type to table for html. JSON is used primarily to transmit data between a server and web application, as an alternative to XML. In these reasons todays many applications use json data format for data transferring. And you need json to table converter for html display.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Jquery Jsontotable

Miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
Stars: ✭ 4,633 (+6614.49%)
Mutual labels:  json, json-data
Dictfier
Python library to convert/serialize class instances(Objects) both flat and nested into a dictionary data structure. It's very useful in converting Python Objects into JSON format
Stars: ✭ 67 (-2.9%)
Mutual labels:  json, json-data
Fifa Worldcup 2018
FIFA Worldcup 2018 - json data
Stars: ✭ 335 (+385.51%)
Mutual labels:  json, json-data
Json Decoder
JsonDecoder implementation that allows you to convert your JSON data into PHP class objects
Stars: ✭ 109 (+57.97%)
Mutual labels:  json, json-data
Jsonpath Rs
JSONPath for Rust
Stars: ✭ 31 (-55.07%)
Mutual labels:  json, json-data
Kazaam
Arbitrary transformations of JSON in Golang
Stars: ✭ 184 (+166.67%)
Mutual labels:  json, json-data
Data
This repository contains general data for Web technologies
Stars: ✭ 418 (+505.8%)
Mutual labels:  json, json-data
Groq
Specification for GROQ - Graph-Relational Object Queries
Stars: ✭ 117 (+69.57%)
Mutual labels:  json, json-data
Jsonlite
A simple, self-contained, serverless, zero-configuration, json document store.
Stars: ✭ 819 (+1086.96%)
Mutual labels:  json, json-data
Jsonq
A PHP query builder for JSON
Stars: ✭ 729 (+956.52%)
Mutual labels:  json, json-data
Json Node Normalizer
'json-node-normalizer' - NodeJS module that normalize json data types from json schema specifications.
Stars: ✭ 105 (+52.17%)
Mutual labels:  json, json-data
Univalue
High performance RAII C++ JSON library and universal value object class
Stars: ✭ 46 (-33.33%)
Mutual labels:  json, json-data
Json To Html Table
Simple Json to standard HTML table converter in fastest way
Stars: ✭ 367 (+431.88%)
Mutual labels:  json, json-data
Ems
Extended Memory Semantics - Persistent shared object memory and parallelism for Node.js and Python
Stars: ✭ 552 (+700%)
Mutual labels:  json, json-data
Chinese Xinhua
📙 中华新华字典数据库。包括歇后语,成语,词语,汉字。
Stars: ✭ 8,705 (+12515.94%)
Mutual labels:  json, json-data
Lazyjson
A very fast, very lazy JSON parser for Java.
Stars: ✭ 55 (-20.29%)
Mutual labels:  json, json-data
Zzzjson
The fastest JSON parser written in pure C
Stars: ✭ 66 (-4.35%)
Mutual labels:  json
Null
reasonable handling of nullable values
Stars: ✭ 1,148 (+1563.77%)
Mutual labels:  json
Json Ditto
Declarative JSON-to-JSON mapper .. shape-shift JSON files with Ditto 👻
Stars: ✭ 66 (-4.35%)
Mutual labels:  json
Json In Db
Oracle Database JSON Examples
Stars: ✭ 65 (-5.8%)
Mutual labels:  json

jQuery-JSONtoTable

Build Status Coverage Status Dependency Status

This plugin can convert JSON data type to table for html. JSON, or JavaScript Object Notation, is an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs. It is used primarily to transmit data between a server and web application, as an alternative to XML. In these reasons todays many applications use JSON data format for data transferring. And you need JSON to table converter for html display. Let's fork and use this. Thanks.

Screenshot

Screenshot

Usage

This sample is how to use this plugin using an Array type. 'header' key is an option. Default value is 'true'. This option indicates whether a header of the table is showing or hiding.

<div id="jsontotable" class="jsontotable"></div>

var data = [[1, 2, 3], [1, 2, 3]];
$.jsontotable(data, { id: '#jsontotable', header: false });

And the following is how to use this plugin using an Object type.

<div id="jsontotable" class="jsontotable"></div>

var data = [{'Title1': 'Hello', 'Title2': 'Fine', 'Title3': 'Thank you'}, {'Title1': 'Hello', 'Title2': 'Fine', 'Title3': 'Thank you'}];
$.jsontotable(data, { id: '#jsontotable', header: false });

And you can also use the string. The following is how to use this plugin using an String type.

<div id="jsontotable" class="jsontotable"></div>

var data = '[[1, 2, 3], [1, 2, 3]]';
$.jsontotable(data, { id: '#jsontotable', header: false });

And you can also use the Object with custom attributes.

<div id="jsontotable" class="jsontotable"></div>

var data = [ { id: 'header', class: 'header-class', _data:['1', '2', '3'] }, {'Title1': '1', 'Title2': '2', 'Title3': '3'} ];
$.jsontotable(data, { id: '#jsontotable', header: false });

If you want to use the bootstrap style you can add 'className' key as follows.

<link href="bootstrap.min.css" rel="stylesheet">

$.jsontotable(data, { id: '#jsontotable', className: 'table table-hover' });

License

jQuery-JSONtoTable is available under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].