mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-23 21:22:39 +07:00
Documentation: Validate json using online tool
This commit is contained in:
parent
94a7d3afa8
commit
ecb88ea10d
@ -29,3 +29,16 @@ Tada! Now Android Studio will recognize all Buildings.json files as belonging to
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
## Using an online tool
|
||||
|
||||
If you don't use any of these tools, you can check your file online using [this tool](https://www.jsonschemavalidator.net/)
|
||||
|
||||
However, it can't handle the missing commas that vscode and Android Studio handle, so you may need to get your json up to spec to use it.
|
||||
|
||||
The schema you want to validate against is:
|
||||
```json
|
||||
{
|
||||
"$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/buildings.json"
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user