+
95
-

js有没有可视化编辑json配置文件的插件?

请问js有没有可视化编辑json配置文件的插件?

网友回复

+
15
-

可以试试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%

+
15
-

还有一个vue-json-schema-form,git...

点击查看剩余70%

我知道答案,我要回答