Subversion Repositories SmartDukaan

Rev

Rev 10850 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10850 Rev 14195
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() );
140
		if(!resultJSon.getClass().equals(String.class)) {
141
		if(!resultJSon.getClass().equals(String.class)) {
141
			this.resultJson = new Gson().toJson(resultJSon);
142
			this.resultJson = new Gson().toJson(resultJSon);
142
		} else {
143
		} else {
143
			this.resultJson = (String)resultJSon;
144
			this.resultJson = (String)resultJSon;
144
		}
145
		}