]> Git Repo - qemu.git/blame - tests/qapi-schema/flat-union-base-any.json
qapi: Add tests of complex objects within alternate
[qemu.git] / tests / qapi-schema / flat-union-base-any.json
CommitLineData
fd41dd4e 1# we require the base to be an existing struct
3d0c4829
EB
2{ 'enum': 'TestEnum',
3 'data': [ 'value1', 'value2' ] }
895a2a80 4{ 'struct': 'TestTypeA',
3d0c4829 5 'data': { 'string': 'str' } }
895a2a80 6{ 'struct': 'TestTypeB',
3d0c4829
EB
7 'data': { 'integer': 'int' } }
8{ 'union': 'TestUnion',
28770e05 9 'base': 'any',
3d0c4829
EB
10 'discriminator': 'enum1',
11 'data': { 'value1': 'TestTypeA',
12 'value2': 'TestTypeB' } }
This page took 0.080997 seconds and 4 git commands to generate.