private static void jsonPut(JSONObject json, string key, Java.Lang.Object value) { try { json.Put(key, value); } catch (JSONException e) { throw new Exception("Error", e); } }