code: public Object get(String key) throws JSONException {
          if(!myHashMap.containsKey(key)) {
              throw new JSONException("JSONObject[" + quote(key) +
                      "] not found.");
          }
          return opt(key);
      }
docs: Get the value object associated with a key.
  
  @param key A key string.
  @return The object associated with the key.
  @throws JSONException if the key is not found.