public void setAnimationFromJson(String jsonString, @Nullable String cacheKey) {
    setAnimation(new ByteArrayInputStream(jsonString.getBytes()), cacheKey);
  }
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.
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java