MovingBlocks
DestSol - JSON Schema Validation
JSON validation in Destination Sol is done manually right now, just catching certain errors. We want to use something called JSON schema validation. It allows you to construct what a JSON file should look like on an abstract level, then validate your actual JSON against it. Once you've done this, you can remove the manual error handling of the JSON, because the schema will take care of it for us. This task requires you to implement a system in the DestSol codebase to verify each json before loading it.
Definition of 'Done':
- A PR against the MovingBlocks/DestinationSol repo with your JSON schema validation changes
Where to Start:
- Ping @vampcat or @TheGhostInTheMachine on our discord to get started! https://discord.gg/Terasology
- JSON schema library: https://github.com/everit-org/json-schema (you don't have to use this particular one)
- JSON schema official website: https://json-schema.org
Task tags
Students who completed this task
Torpedo