fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -5,53 +5,53 @@
|
||||
"author": "曦",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.0"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -410.861328125,
|
||||
"y": 1161.28662109375,
|
||||
"x": -410.86,
|
||||
"y": 1161.29,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -385.4189453125,
|
||||
"y": 1147.97607421875,
|
||||
"x": -385.42,
|
||||
"y": 1147.98,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": -359.2275390625,
|
||||
"y": 1133.634765625,
|
||||
"x": -359.23,
|
||||
"y": 1133.63,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": -327.373046875,
|
||||
"y": 1097.8979492187502,
|
||||
"x": -327.37,
|
||||
"y": 1097.9,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": -305.8701171875,
|
||||
"y": 1074.35791015625,
|
||||
"x": -305.87,
|
||||
"y": 1074.36,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": -294.544921875,
|
||||
"y": 1091.830078125,
|
||||
"x": -294.54,
|
||||
"y": 1091.83,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "target"
|
||||
|
||||
Reference in New Issue
Block a user