How am i trying till now .

@RequestMapping(value = "/rest/hotel", method = RequestMethod.GET)
@Produces("application/json")
@Consumes("application/json")
public @ResponseBody List<HotelBO> search(JSONObject inputJsonObj) throws 
ParseException, IOException {

    Gson gson = new Gson();
    GsonBuilder builder = new GsonBuilder();
    Search vc = gson.fromJson(inputJsonObj.toString(), Search.class);
  *}*


*but its not working any idea ?*

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].

Reply via email to