{"id":21309576,"url":"https://github.com/yixianle/react-jsoneditor","last_synced_at":"2025-10-29T07:49:59.554Z","repository":{"id":57333568,"uuid":"82470003","full_name":"yixianle/react-jsoneditor","owner":"yixianle","description":"a react jsoneditor，to view, edit, format","archived":false,"fork":false,"pushed_at":"2017-06-11T15:39:50.000Z","size":1112,"stargazers_count":19,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T14:32:59.361Z","etag":null,"topics":["json-editor","json-format","json-viewer","react","redux"],"latest_commit_sha":null,"homepage":"http://jsoneditor.hotcn.top/","language":"CSS","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/yixianle.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":"2017-02-19T15:45:23.000Z","updated_at":"2025-03-12T10:57:10.000Z","dependencies_parsed_at":"2022-08-24T19:41:49.626Z","dependency_job_id":null,"html_url":"https://github.com/yixianle/react-jsoneditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yixianle/react-jsoneditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixianle%2Freact-jsoneditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixianle%2Freact-jsoneditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixianle%2Freact-jsoneditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixianle%2Freact-jsoneditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yixianle","download_url":"https://codeload.github.com/yixianle/react-jsoneditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixianle%2Freact-jsoneditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281584985,"owners_count":26526171,"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-10-29T02:00:06.901Z","response_time":59,"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-editor","json-format","json-viewer","react","redux"],"created_at":"2024-11-21T17:09:30.122Z","updated_at":"2025-10-29T07:49:59.518Z","avatar_url":"https://github.com/yixianle.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsoneditor\nA react based tool to view, edit,and format JSON\n\n## DEMO\nhttp://jsoneditor.hotcn.top/\n\n\u003cimg alt=\"google translate\" src=\"https://raw.githubusercontent.com/yixianle/react-jsoneditor/master/examples/demo.gif\"\u003e\n\n## Npm Module\n\n### Install\n```\n  $ npm install react-jsoneditor\n```\n\n## Example\n\n```javascript\n  import JsonEdit from 'react-jsoneditor'\n\n  function changeVal(val){\n    console.log(val,\"-----changeVal------\")\n  }\n\n  const json = {\n    \"array1\": [\"aaaaaaaaaaaaaaaaa\", 1, {a:1}],\n    \"array2\": [],\n    \"boolean\": true,\n    \"null1\": null,\n    \"null2\": \"\",\n    \"null3\": 0,\n    \"number\": 1234,\n    \"object1\": {\"a\": \"b\", \"c\": \"d\"},\n    \"string1\": \"Hello World\",\n    \"one\": {\n      \"two\": {\n        \"three\":[{\n          \"array1\":{\n            \"array2\":{\n              \"array3\":5555\n            }\n          }\n        }]\n      }\n    }\n  };\n\n  render(\n    \u003cJsonEdit json={json} changeVal={changeVal} /\u003e,\n    document.getElementById('root')\n  )\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixianle%2Freact-jsoneditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyixianle%2Freact-jsoneditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixianle%2Freact-jsoneditor/lists"}