Java tutorial
//package com.java2s; import android.util.Log; import org.json.JSONObject; public class Main { public static JSONObject retrieveAnimations(String paramString) { try { JSONObject localJSONObject = new JSONObject(paramString); return localJSONObject; } catch (Exception localException) { Log.e("AnimUtils", "Unable to retrieve animations=" + paramString + " ex=" + localException); } return null; } }