Skip to content

Commit

Permalink
Updateing README to reflect actual output
Browse files Browse the repository at this point in the history
  • Loading branch information
Clayton F Stout authored and Clayton F Stout committed Mar 24, 2015
1 parent d871ae5 commit 86b9a56
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ Should produce output like:

.. code:: bash
TypeDifference : accounting[0].firstName - is bool: (True), but was unicode: (John)
Changed: accounting[1].firstName to Susan from Mary
+: sales[0].size =27
-: sales[0].age=27
-: sales[1].lastName=Galley
2015-03-24 12:59:08,576 - jsondiff - INFO - TypeDifference : accounting[0].firstName - is bool: (True), but was unicode: (John)
2015-03-24 12:59:08,576 - jsondiff - INFO - Changed: accounting[1].firstName to Susan from Mary
2015-03-24 12:59:08,576 - jsondiff - INFO - +: sales[0].size =27
2015-03-24 12:59:08,576 - jsondiff - INFO - -: sales[0].age=27
2015-03-24 12:59:08,576 - jsondiff - INFO - -: sales[1].lastName=Galley
4. JSON to Model Diff
---------------------
Expand Down Expand Up @@ -212,8 +212,8 @@ Should produce output

.. code-block:: bash
+: accounting[0].firstName=John
Changed: sales[0].age to 27 from 24
2015-03-24 12:59:08,576 - jsondiff - INFO - +: accounting[0].firstName=John
2015-03-24 12:59:08,576 - jsondiff - INFO - Changed: sales[0].age to 27 from 24
As you can see we find a match on numbers even though the type is ‘int’
(Mary Smith’s age). Also, even though we changed Sally’s age, we were
Expand Down

0 comments on commit 86b9a56

Please sign in to comment.