Code example for JsonSyntaxException

Methods: toString

0
			// Create an object for Gson (used to create the JSON object) 
			Gson jsonObj = new Gson();
			orderStatusObj = jsonObj.fromJson(orderObjString, OrderStatus.class);
			PhrescoLogger.info(TAG + "getOrderGSONObject() - JSON OBJECT : " + orderStatusObj.toString());
		} catch (JsonSyntaxException ex) {
			PhrescoLogger.info(TAG + "getOrderGSONObject - JsonSyntaxException : " + ex.toString());
			PhrescoLogger.warning(ex);
		} 
		return orderStatusObj;
	} 
}