the motivation is to export game config json data from TreeSheets. the original script is not very useful, so i made my own modifications on top of it.
now a grid like this:
will export to this:
{
"more_list_of_things": [
{
"key": [
"value",
"value 1.2"
]
},
{
"key2": "value2"
}
]
}
known issues:
- it's really hard to determine if a child is a list or a dictionary