@Deprecated
  @WorkerThread
  public static LottieResult<LottieComposition> fromJsonSync(final JSONObject json, @Nullable String cacheKey) {
    return fromJsonStringSync(json.toString(), cacheKey);
  }
Prefer passing in the json string directly. This method just calls `toString()` on your JSONObject.
If you are loading this animation from the network, just use the response body string instead of
parsing it first for improved performance.
lottie/src/main/java/com/airbnb/lottie/LottieCompositionFactory.java