fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "海祇岛左上-刀镡",
|
||||
"name": "01绀田村-刀镡",
|
||||
"type": "collect",
|
||||
"author": "XS",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 2,
|
||||
"x": -4050.103515625,
|
||||
"y": -2657.4619140625,
|
||||
"x": -4050.1,
|
||||
"y": -2657.46,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -4039.6357421875,
|
||||
"y": -2700.0107421875,
|
||||
"x": -4039.64,
|
||||
"y": -2700.01,
|
||||
"type": "target",
|
||||
"move_mode": "run",
|
||||
"action": "fight"
|
||||
|
||||
Reference in New Issue
Block a user