public static JSONArray getFormItems ( JSONObject formObj ) throws JSONException { if ( formObj . has ( TAG_FORMITEMS ) ) { JSONArray formItemsArray = formObj . getJSONArray ( TAG_FORMITEMS ) ; return formItemsArray ; } return null ; }
Utility method to get the formitems of a form object .