You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qapi-schema/enum-dict-member-unknown.json

3 lines
141 B
JSON

# we reject any enum member that is not a string or a dict with 'name'
{ 'enum': 'MyEnum', 'data': [ { 'name': 'foo', 'bad-key': 'str' } ] }