Add and use a new virJSONValueObjectGetObject() and friends,
exposing and fixing a bug in our JSON parser along the way.

Eric Blake (3):
  json: fully parse input string
  json: make it easier to type-check when getting from object
  qemu: simplify json parsing

 src/libvirt_private.syms     |   3 +
 src/qemu/qemu_monitor_json.c | 164 ++++++++++++++++---------------------------
 src/util/virjson.c           |  80 +++++++++++----------
 src/util/virjson.h           |   8 ++-
 tests/jsontest.c             | 129 ++++++++++++++++++++++++++++++++++
 5 files changed, 242 insertions(+), 142 deletions(-)

-- 
2.4.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to