@@ -0,0 +1,549 @@
+package org.azavea.otm;%0A%0Aimport org.json.JSONException;%0Aimport org.json.JSONObject;%0A%0Aimport android.util.Log;%0A%0Apublic class NestedJsonAndKey %7B%0A%0A%09public NestedJsonAndKey(JSONObject json, String key) %7B%0A%09%09this.json = json;%0A%09%09this.key = key;%0A%09%7D%0A%09%0A%09public JSONObject json = null;%0A%09public String key = null;%0A%09%0A%09public Object get() throws JSONException %7B%0A%09%09return json.get(key);%0A%09%7D%0A%09%0A%09public void set(Object value) throws JSONException %7B%0A%09%09Log.d(%22json%22, %22old: %22 + json.get(key));%0A%09%09json.put(this.key, value);%0A%09%09Log.d(%22json%22, %22new: %22 + json.get(key));%0A%09%7D%0A%7D%0A

Add container class for getting setting nested json