Subversion Repositories SmartDukaan

Rev

Rev 14195 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14195 Rev 14198
Line 135... Line 135...
135
		return cookieVal;
135
		return cookieVal;
136
	}
136
	}
137
 
137
 
138
 
138
 
139
	public void setResultJson(Object resultJSon) {
139
	public void setResultJson(Object resultJSon) {
140
		log.info("Result- " + resultJson.toString() );
-
 
141
		if(!resultJSon.getClass().equals(String.class)) {
140
		if(!resultJSon.getClass().equals(String.class)) {
142
			this.resultJson = new Gson().toJson(resultJSon);
141
			this.resultJson = new Gson().toJson(resultJSon);
143
		} else {
142
		} else {
144
			this.resultJson = (String)resultJSon;
143
			this.resultJson = (String)resultJSon;
145
		}
144
		}