[PATCH 0/3] JSON parsing simplification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]