On 12/16/19 10:59 AM, Markus Armbruster wrote:
Extra nesting is merely another set of braces in QMP. It's bloody
annoying in QAPIfied CLI using dotted keys syntax. Example:
QMP command
{"execute": "chardev-add",
Let's start with trying to understand the sources of extra nesting.
T
> On 16 Dec 2019, at 17:59, Markus Armbruster wrote:
>
> Kevin suggested to investigate a more generic flattening solutions.
>
> Of course, flattening is only possible as long as there are no name
> clashes.
Or you could reverse the name sequence and allow
the “upper” layers to disambiguate.
Extra nesting is merely another set of braces in QMP. It's bloody
annoying in QAPIfied CLI using dotted keys syntax. Example:
QMP command
{"execute": "chardev-add",
"arguments": {
"id": "char0",
"backend": {
"type": "socket",
"data": {