Thank you to both Hisham and Michael for the pointers - this does indeed
explain what I was doing wrong.
For the record, the correct way to specify the enum in the record's fields
member is:
{
"name": "Test",
"type": "record",
"fields": [
{
"name": "Suit",
"type": {
"type": "enum",
"name": "Suit",
"symbols" : ["SPADES", "HEARTS", "DIAMONDS", "CLUBS"]
}
}
]
}
Charles
--
------------------------------------------------------------------
Charles Cazabon <[email protected]>
Software, consulting, and services available at http://pyropus.ca/
------------------------------------------------------------------