python: Serial JSON via Python's json lib.
authorTerry Wilson <twilson@redhat.com>
Tue, 26 Jul 2016 00:17:11 +0000 (19:17 -0500)
committerBen Pfaff <blp@ovn.org>
Tue, 26 Jul 2016 16:17:13 +0000 (09:17 -0700)
commit622749d8a3a50d4bbca662dff8cb222a43c64c02
tree52b931fd84472ec8073a0e51d5218f3fbae19aed
parent9364ae6548e2d0dd8c971d37d08beddd8ed7d581
python: Serial JSON via Python's json lib.

There is no particularly good reason to use our own Python JSON
serialization implementation when serialization can be done faster
with Python's built-in JSON library.

A few tests were changed due to Python's default JSON library
returning slightly more precise floating point numbers.

Signed-off-by: Terry Wilson <twilson@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
python/ovs/json.py
tests/json.at