You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qapi-schema/union-base-empty.json

10 lines
228 B
JSON

# Union with empty base and therefore without discriminator
{ 'struct': 'Empty', 'data': { } }
{ 'union': 'TestUnion',
'base': 'Empty',
'discriminator': 'type',
'data': { 'value1': 'int',
'value2': 'str' } }