Laurent Vivier <lviv...@redhat.com> writes: > move them from block/qapi.c to qobject/qdict.c, qobject/qlist.c, > qobject/qobject.c > > This is useful to debug qobjects > > Signed-off-by: Laurent Vivier <lviv...@redhat.com>
I think qobject_to_json_pretty() is better suited to debugging, because it preserves differences like the one between the string "1" and the number 1.