]>
Commit | Line | Data |
---|---|---|
5223070c WX |
1 | { 'enum': 'TestEnum', |
2 | 'data': [ 'value1', 'value2' ] } | |
3 | ||
4 | { 'type': 'TestBase', | |
5 | 'data': { 'enum1': 'TestEnum', 'kind': 'str' } } | |
6 | ||
7 | { 'type': 'TestTypeA', | |
8 | 'data': { 'string': 'str' } } | |
9 | ||
10 | { 'type': 'TestTypeB', | |
11 | 'data': { 'integer': 'int' } } | |
12 | ||
13 | { 'union': 'TestUnion', | |
14 | 'base': 'TestBase', | |
15 | 'discriminator': 'kind', | |
16 | 'data': { 'kind1': 'TestTypeA', | |
17 | 'kind2': 'TestTypeB' } } |