{"id":13591375,"url":"https://github.com/jongha/jquery-jsontotable","last_synced_at":"2025-04-30T08:14:23.949Z","repository":{"id":12923498,"uuid":"15601058","full_name":"jongha/jquery-jsontotable","owner":"jongha","description":"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.","archived":false,"fork":false,"pushed_at":"2014-10-11T10:24:26.000Z","size":515,"stargazers_count":73,"open_issues_count":5,"forks_count":34,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-30T08:14:18.598Z","etag":null,"topics":["data-transfer","html","javascript","jquery-jsontotable","json","json-data","table-converter","transmit-data"],"latest_commit_sha":null,"homepage":"http://plugins.jquery.com/jsontotable/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jongha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-03T04:19:26.000Z","updated_at":"2024-09-06T15:22:16.000Z","dependencies_parsed_at":"2022-07-12T15:07:24.622Z","dependency_job_id":null,"html_url":"https://github.com/jongha/jquery-jsontotable","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fjquery-jsontotable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fjquery-jsontotable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fjquery-jsontotable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fjquery-jsontotable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongha","download_url":"https://codeload.github.com/jongha/jquery-jsontotable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251666361,"owners_count":21624298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-transfer","html","javascript","jquery-jsontotable","json","json-data","table-converter","transmit-data"],"created_at":"2024-08-01T16:00:56.831Z","updated_at":"2025-04-30T08:14:23.927Z","avatar_url":"https://github.com/jongha.png","language":"JavaScript","readme":"# jQuery-JSONtoTable\n[![Build Status](https://travis-ci.org/jongha/jquery-jsontotable.png?branch=master)](https://travis-ci.org/jongha/jquery-jsontotable)\n[![Coverage Status](https://coveralls.io/repos/jongha/jquery-jsontotable/badge.png)](https://coveralls.io/r/jongha/jquery-jsontotable)\n[![Dependency Status](https://gemnasium.com/jongha/jquery-jsontotable.png)](https://gemnasium.com/jongha/jquery-jsontotable)\n\nThis 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.\n\n## Screenshot\n\n![Screenshot](https://raw.github.com/jongha/jquery-jsontotable/master/demo/screenshot.png)\n\n## Usage\n\nThis 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.\n\n```\n\u003cdiv id=\"jsontotable\" class=\"jsontotable\"\u003e\u003c/div\u003e\n\nvar data = [[1, 2, 3], [1, 2, 3]];\n$.jsontotable(data, { id: '#jsontotable', header: false });\n```\n\nAnd the following is how to use this plugin using an Object type.\n\n```\n\u003cdiv id=\"jsontotable\" class=\"jsontotable\"\u003e\u003c/div\u003e\n\nvar data = [{'Title1': 'Hello', 'Title2': 'Fine', 'Title3': 'Thank you'}, {'Title1': 'Hello', 'Title2': 'Fine', 'Title3': 'Thank you'}];\n$.jsontotable(data, { id: '#jsontotable', header: false });\n```\n\nAnd you can also use the string. The following is how to use this plugin using an String type.\n\n```\n\u003cdiv id=\"jsontotable\" class=\"jsontotable\"\u003e\u003c/div\u003e\n\nvar data = '[[1, 2, 3], [1, 2, 3]]';\n$.jsontotable(data, { id: '#jsontotable', header: false });\n```\n\nAnd you can also use the Object with custom attributes.\n\n```\n\u003cdiv id=\"jsontotable\" class=\"jsontotable\"\u003e\u003c/div\u003e\n\nvar data = [ { id: 'header', class: 'header-class', _data:['1', '2', '3'] }, {'Title1': '1', 'Title2': '2', 'Title3': '3'} ];\n$.jsontotable(data, { id: '#jsontotable', header: false });\n```\n\nIf you want to use the bootstrap style you can add 'className' key as follows.\n\n```\n\u003clink href=\"bootstrap.min.css\" rel=\"stylesheet\"\u003e\n\n$.jsontotable(data, { id: '#jsontotable', className: 'table table-hover' });\n```\n\n## License\n\njQuery-JSONtoTable is available under the terms of the [MIT License](https://github.com/jongha/jquery-jsontotable/blob/master/LICENSE).\n","funding_links":[],"categories":["Table of contents"],"sub_categories":["Data Table"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fjquery-jsontotable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongha%2Fjquery-jsontotable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fjquery-jsontotable/lists"}