diff options
author | kali <kali@leap.se> | 2012-09-24 22:21:50 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-24 22:21:50 +0900 |
commit | 30570bd89c04a56b35b91a0bc1d5fc00bb6ad266 (patch) | |
tree | 10364a8c906b34474f0e453fd5a3b29c4d6fba92 /pkg/scripts | |
parent | 5c32cc7b5e00853b3cc28b5003b92ab009418dff (diff) |
add schema to JSONLeapConfig classes
and a jsonvalidate function too,
that calls to jsonchemea.validate(self, data) with self.schema
We're using the specs to both purposes now:
* providing a type casting system for our config options (work in
progress for the type casting)
* json schema validation
Diffstat (limited to 'pkg/scripts')
0 files changed, 0 insertions, 0 deletions