code: public JSONArray getArray(String key) {
          Object tmp = objectMap.get(key);
          return tmp == null ? null : tmp instanceof JSONArray ? (JSONArray) tmp
                  : null;
      }
docs: get JSONArray value.
  
  @param key key.
  @return value or default value.