json: Make json_equal() compare objects correctly.
authorBen Pfaff <blp@nicira.com>
Fri, 6 Nov 2009 20:24:44 +0000 (12:24 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Nov 2009 20:26:22 +0000 (12:26 -0800)
commit6e57173fab673b66870b3e181f09542da0d61587
tree6fc7f47e4297003fe4f75c5fe127a5c4451968e2
parentdc268c788e287da920a90e287339d3eac1f05a5e
json: Make json_equal() compare objects correctly.

The previous code checked only that JSON objects have members with the
same names.  This commit makes json_equal() also check that like-named
members have the same values.
lib/json.c