Eric Blake writes:
> Now that we can visit any QObject, it's easy to add support
> for visit_type_any() in the JSON output visitor.
>
> Signed-off-by: Eric Blake
Unlike in v3, this actually clones the QObject behind the any type.
Much cleaner, and very little code due to your elegant use of vis
Now that we can visit any QObject, it's easy to add support
for visit_type_any() in the JSON output visitor.
Signed-off-by: Eric Blake
---
v4: new patch, split out of v3 7/18, but made simpler by
not requiring v3 12/18
---
include/qapi/json-output-visitor.h | 2 --
qapi/json-output-visitor.c