请问js有没有可视化编辑json配置文件的插件?
网友回复
可以试试json-editor
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Basic JSON Editor Example</title> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jsoneditor.min.js"></script> </head> <body> <h1>Basic JSON Editor Example</h1> <div id='editor_holder'></div> <button id='submit'>Submit (console.log)</button> <script> // Initialize the editor with a JSON schema var editor = new JSONEditor(document.getElementById('editor_holder'),{ schema: { type: "object", title: "Car", properties: { make...
点击查看剩余70%