diff options
author | Julian Berman <Julian+git@GrayVines.com> | 2012-06-19 10:13:27 -0400 |
---|---|---|
committer | Julian Berman <Julian+git@GrayVines.com> | 2012-06-19 10:13:27 -0400 |
commit | b8b43a4544a529814ae0d7f5b5e065b974cc0b5f (patch) | |
tree | 4ba91e7cf3f31549321e772bada093c92c5217c4 | |
parent | 6afe17703e9c6834ab6e23c3ca4002ea8a59b6ee (diff) | |
download | jsonschema-0.4.tar.gz |
Lets wrestle with reSt shall we.v0.4
-rw-r--r-- | README.rst | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -39,6 +39,8 @@ Features * Lazy validation that can iteratively report *all* validation errors. +:: + >>> from jsonschema import Validator >>> schema = { ... "type" : "array", @@ -55,6 +57,8 @@ Features * Programmatic querying of which properties or items failed validation. +:: + >>> from jsonschema import ErrorTree, Validator >>> schema = { ... "type" : "array", @@ -104,6 +108,7 @@ Release Notes In order to make this happen (and also to clean things up a bit), a number of deprecations are necessary: + * ``stop_on_error`` is deprecated in ``Validator.__init__``. Use ``Validator.iter_errors()`` instead. * ``number_types`` and ``string_types`` are deprecated there as well. |