Skip to content

Instantly share code, notes, and snippets.

@crutch12
Created July 25, 2022 20:22
Show Gist options
  • Save crutch12/94f7cb0b607dcd4183214bb5115ad726 to your computer and use it in GitHub Desktop.
Save crutch12/94f7cb0b607dcd4183214bb5115ad726 to your computer and use it in GitHub Desktop.
recursive tree data
{
"value": 1,
"children": [
{
"value": 2,
"children": [
{
"value": 5
},
{
"value": 6,
"comment": "upper six"
},
{
"value": 7
}
]
},
{
"value": 3,
"children": [
{
"value": 5
},
{
"value": 6,
"comment": "flat six"
},
{
"value": 7,
"children": [
{
"value": 2
},
{
"value": 6,
"comment": "down six"
},
{
"value": 4
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment