Wenchao Xia | bceae76 | 2014-03-06 17:08:56 -0800 | [diff] [blame] | 1 | { 'union': 'TestUnion', |
2 | 'base': 'TestBase', | ||||
3 | 'discriminator': 'enum1', | ||||
4 | 'data': { 'value1': 'TestTypeA', | ||||
5 | 'value2': 'TestTypeB' } } | ||||
6 | |||||
7 | { 'type': 'TestBase', | ||||
8 | 'data': { 'enum1': 'TestEnum' } } | ||||
9 | |||||
10 | { 'enum': 'TestEnum', | ||||
11 | 'data': [ 'value1', 'value2' ] } | ||||
12 | |||||
13 | { 'type': 'TestTypeA', | ||||
14 | 'data': { 'string': 'str' } } | ||||
15 | |||||
16 | { 'type': 'TestTypeB', | ||||
17 | 'data': { 'integer': 'int' } } |