I'm sure this is more of a JSON question than spine but, for example:
In the Animation JSON, the Bones object has sub objects of "leg right" and "leg right lower", while in the Skeleton JSON, the Bones object has an array of sub objects.
I just don't understand why the Animation JSON wouldn't list the bones as an array also?
Skeleton
{
"bones": [
{ "name": "root" },
{ "name": "hips", "parent": "root", "length": 47.04, "x": -19.6, "y": 101.55, "rotation": 0.9 },
{ "name": "leg right", "parent": "hips", "length": 44.51, "x": 36.46, "y": -4.77, "rotation": -90.45 },
{ "name": "leg right lower", "parent": "leg right", "length": 40.04, "x": 44.13, "y": 3.39, "rotation":
]
}
Skeleton Animation
{
"bones": {
"leg right": {
"rotate": [
{ "time": 0, "angle": 26.88 },
{ "time": 0.5, "angle": 13.79 },
{ "time": 0.6666, "angle": 26.88 }
],
},
"leg right lower": {
"rotate": [
{ "time": 0, "angle": -2.34 },
{ "time": 0.6666, "angle": -2.34 }
],
}
}