code: public static JSONArray getFormItems( JSONObject formObj ) throws JSONException {
          if (formObj.has(TAG_FORMITEMS)) {
              JSONArray formItemsArray = formObj.getJSONArray(TAG_FORMITEMS);
              return formItemsArray;
          }
          return null;
      }
docs: Utility method to get the formitems of a form object.
  
  <p>Note that the entering json object has to be one
  object of the main array, not THE main array itself,
  i.e. a choice was already done.
  
  @param jsonObj the single object.
  @return the array of items of the contained form or <code>null</code> if
  no form is contained.
  @throws JSONException