• Runtimes
  • Json documentation for spine 4

Is there any documentation about json format in spine 4 version?

Related Discussions
...

The JSON format page is here:
Spine: JSON export format
However, it is accurate for 3.8. Some of it has changed in 4.0. We will be updating the page shortly after releasing 4.0 as the latest stable version (soon).

Note if you use the official Spine Runtimes to load your JSON data, you don't need to worry about the details of the JSON format at all.

한 달 후

Could you please document the bezier curve definition? Apparently, the meaning has changed between 3.x and 4.x. Is it possible to somehow convert the 4.x values to the original values? For those of us who parse the json directly without using runtimes. Thanks!

Sure, we have updated the JSON format page to explain curves in 4.0.

Curves are represented differently in 4.0, so it's not possible to convert them back to how they were in 3.8.

FWIW, you would save enormous effort by using the Spine Runtimes rather than parsing the data yourself, even if you use the Spine Runtimes solely to pass the data off to something else.

9일 후

Now it's a small mistake in a documentation.

Slot timeline types:

attachment: Keyframes for changing a slot's attachment.
color: Keyframes for changing a slot's color.

In json color curve named as "rgba", and "color" timelineType causes an error