setAnimationFromJson

fun setAnimationFromJson(jsonString: String, cacheKey: String?)

Sets the animation from json string. This is the ideal API to use when loading an animation over the network because you can use the raw response body here and a conversion to a JSONObject never has to be done.