Hi I have to used  json to put the list or any data into key value pair for this i used json object .Now please tell me the way of retrieving that json object into jsf view page .I am not able to figure out how to get the json object which contains data in key value pair into the jsf view page
here is my code of 
jsf BeanManager
import org.json.simple.JSONObject;
class DiaryManager{
    private JSONObject jsonObject;
    public void setView(){
       jsonObject=new  JSONObject();
       jsonObject.put("aptId", diaryViewBean.getApptid());
       jsonObject.put("sessionID", diaryViewBean.getSessionid());
       jsonObject.put("startdate", diaryViewBean.getStartDateBlock());
       jsonObject.put("event", eventobj);
    }
}
