The easiest way to verify if a json file is of the expected format and valid is to specific a json schema, which you can do in the json file using the $schema key, and providing a URL to the jsonschema file as the value.
This can then be used to verify that the json file is in fact in the expected format, and also as a versioning system.
As title,
The easiest way to verify if a json file is of the expected format and valid is to specific a json schema, which you can do in the json file using the
$schema
key, and providing a URL to the jsonschema file as the value.This can then be used to verify that the json file is in fact in the expected format, and also as a versioning system.