0.0.2 • Published 10 years ago
jm-jsoneditor v0.0.2
jm-jsonEditor
json file editor
project: 一个项目可以同时编辑多个JSON文件 [ { "type": "tree form", //编辑模式 "title": "项目设置", //标题 "template": "project", //模板名称 "fileName": "testFiles/project.json" //目标文件 },
{
"type": "tree entity",
"title": "实体",
"template": "common entity",
"fileName": "testFiles/config/entity.json"
},
{
"type": "table",
"title": "产品",
"template": "common product",
"fileName": "testFiles/config/product.json"
}
]
template: 模板用于确定json文件中的哪些项目需要被编辑, 以及按什么方式编辑