Parsing and using Animation Editor JSON

I don’t want to load the JSON file from the server (nor a snipit).

I am trying to figure out how to use the JSON output that the Animation Editor creates as just an object.

This is loading the JSON with the

This is the JSON that the link returns:


This is where I try to use the Javascript Object that comes from the JSON object.

You can do it like below, passing each of the serialized animations in the array to Animation.Parse like ParseFromFileAsync does. :slight_smile:

EDIT: Here’s a more condensed version, using map() for a nice one-line solution. :slight_smile:


Thanks Blake.

I modified it a little so I can skip the JSON.parse step.

This is exactly what I was looking for. Thanks again.