JSON Strict Mode
jdriselvato at gmail.com
Fri Aug 5 05:25:33 CEST 2011
I am working on a license verification script. I am rather new to the
concept and to JSON files in general.
This is what my pseudocode looks like:
licenses = meta['license']
> for x in licenses:
> if licenses[x]['terms'] is not valid opensource license
> if in strict mode
> raise nonfree exception
> How would i go about checking if its in "strick mode" and what does "raise
nonfree exception" mean?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list