nasaonacid / abstractAardvark

0 stars 0 forks source link

Validation of JSON tree #21

Closed nasaonacid closed 9 years ago

nasaonacid commented 9 years ago

Validate the json tree that could be posted to ensure all data is correct.

nasaonacid commented 9 years ago

Validation of tree creation is now working. Validation for tree posts is semi working but is not standardised.

With tree verification I am hoping to return an extra 'error' element into the dictionary at each point of failure. This is hard in the main dictionary as the object type is ReturnDict and doesn't support addition of additional keys.

nasaonacid commented 9 years ago

Not really possible to fully standardise due to the returndict immutable properties. Standardised to best degree possible.