blob: 8e0da73600137be3f83447a593374bec6675118a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
object :empty
object Base
member enum1: TestEnum optional=False
member c_d: str optional=True
object Branch1
member string: str optional=False
object Branch2
member value: int optional=False
enum TestEnum ['base', 'c-d']
object TestUnion
base Base
tag enum1
case base: Branch1
case c-d: Branch2
|