Skip to content

Instantly share code, notes, and snippets.

@andrewstevenson
Last active September 11, 2016 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewstevenson/d669b358859353e10881592b6f9b9afc to your computer and use it in GitHub Desktop.
Save andrewstevenson/d669b358859353e10881592b6f9b9afc to your computer and use it in GitHub Desktop.
{
"type": "record",
"name": "example.nasty",
"fields": [
{
"name": "elements",
"type": {
"type": "array",
"items" : {
"type": "record",
"name": "example.nasty.element",
"fields": [
{
"name": "value",
"type": "string"
},
{
"name": "children",
"type": {
"type": "array",
"items": "example.nasty.element"
}
}
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment