qemu-e2k/tests/qapi-schema/alternate-array.json

9 lines
247 B
JSON

# FIXME: we should not allow array branches in anonymous unions
# TODO: should we support this?
{ 'type': 'One',
'data': { 'name': 'str' } }
{ 'union': 'MyUnion',
'discriminator': {},
'data': { 'one': 'One',
'two': [ 'int' ] } }