code: public void setAnimationFromJson(String jsonString, @Nullable String cacheKey) {
      setAnimation(new JsonReader(new StringReader(jsonString)), cacheKey);
    }
docs: 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.