1{ 'enum': 'TestEnum',
2  'data': [ 'value1', 'value2' ] }
3
4{ 'struct': 'TestTypeA',
5  'data': { 'string': 'str' } }
6
7{ 'struct': 'TestTypeB',
8  'data': { 'integer': 'int' } }
9
10{ 'union': 'TestUnion',
11  'base': { 'type-tag': 'TestEnum' },
12  'discriminator': 'type_tag',
13  'data': { 'value1': 'TestTypeA',
14            'value2': 'TestTypeB' } }
15