ExampleApp/src/com/altinn/apps/fisher/net/JSParser.java
/**
	 * This method is used to parse json text and converts into Java - JsonObj
	 * @param jsonStr
	 * @param typeObj
	 * @return
	 */
This method is used to parse json text and converts into Java - JsonObj
@param jsonStr
@param typeObj
@return
This method is used to parse json text and converts into Java - JsonObj @param jsonStr @param typeObj @return
public JsonObj parse(String jsonStr,  int typeObj) {
		JSONObject jsonObj = null;
		try {
			 jsonObj = new JSONObject(jsonStr);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		if(jsonObj != null)
			return parse(jsonObj,typeObj);
		else
			return null;
	}
public JsonObj parse ( String jsonStr , int typeObj ) { JSONObject jsonObj = null ; try { jsonObj = new JSONObject ( jsonStr ) ; } catch ( JSONException e ) { e . printStackTrace ( ) ; } if ( jsonObj != null ) return parse ( jsonObj , typeObj ) ; else return null ; }
This method is used to parse json text and converts into Java - JsonObj
 @param jsonStr
 @param typeObj
 @return
This method is used to parse json text and converts into Java - JsonObj @param jsonStr @param typeObj @return