thepetk / projectman

Github Project Manager is an automation related to Github Projects
Apache License 2.0
3 stars 0 forks source link

Improve JsonParser validation process #11

Closed thepetk closed 11 months ago

thepetk commented 1 year ago

/type task

Which area/kind this task is related to?

/label library

Issue Description

During the parsing of the .projectman.json file, we are not validating its content. That said, we can end up having invalid contents inside the .projectman.json. For example, one can have wrong fields inside the json or some of our required fields might be missing.

As a result, we need to have a more improved process of validating the parsed json file. We could create a _get_key method inside the parser class which will be responsible for: