{"id":15578654,"url":"https://github.com/dblate/jquery.json-editor","last_synced_at":"2025-10-21T07:14:42.691Z","repository":{"id":39376903,"uuid":"134748060","full_name":"dblate/jquery.json-editor","owner":"dblate","description":"A json editor based on jquery.json-viewer.","archived":false,"fork":false,"pushed_at":"2021-02-18T08:00:51.000Z","size":27,"stargazers_count":39,"open_issues_count":0,"forks_count":17,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T02:09:37.830Z","etag":null,"topics":["json","json-editor","json-viewer","jsoneditor","jsonviewer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dblate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-24T17:26:08.000Z","updated_at":"2025-03-12T10:56:42.000Z","dependencies_parsed_at":"2022-09-10T03:32:19.384Z","dependency_job_id":null,"html_url":"https://github.com/dblate/jquery.json-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dblate/jquery.json-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Fjquery.json-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Fjquery.json-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Fjquery.json-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Fjquery.json-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblate","download_url":"https://codeload.github.com/dblate/jquery.json-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Fjquery.json-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272733231,"owners_count":24984260,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["json","json-editor","json-viewer","jsoneditor","jsonviewer"],"created_at":"2024-10-02T19:12:04.140Z","updated_at":"2025-10-21T07:14:37.642Z","avatar_url":"https://github.com/dblate.png","language":"JavaScript","readme":"# jquery.json-editor\nA json editor based on [jquery.json-viewer](https://github.com/abodelot/jquery.json-viewer).\n\nCheck out the [demo page](https://dblate.github.io/jquery.json-editor/)!\n\n## 特性:\n\n* 语法高亮\n* 支持数据块展开与收起\n* 简单\n* 可编辑\n\n## 使用\n\n```html\n\u003cscript src=\"path/to/jquery.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/jquery.json-editor.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n```\n\n```javascript\n/**\n * 初始化一个 JsonEditor\n *\n * @param {DOM|string} container DOM 元素或 jQuery 选择器字符串\n * @param {Object} json JSON 对象\n * @param {Object=} options 其他配置项，可选\n * @param {boolean} options.defaultCollapsed 是否默认是收起状态，默认 false\n * @param {boolean} options.editable 是否可编辑，默认 true\n */\nvar editor = new JsonEditor(container, json, options);\n\n// 更新 json\neditor.load(json);\n\n// 获取 json\ntry {\n    editor.get();\n} catch (ex) {\n    // Trigger an Error when JSON invalid\n    alert(ex);\n}\n```\n\n## License\n\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblate%2Fjquery.json-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblate%2Fjquery.json-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblate%2Fjquery.json-editor/lists"}