bharat joshi - 2011-09-27

I am using flot in javascript. It used json of  format and a,b,c,d,e,f are all numerical(float,integers….)
Now my question is how can i directly send such a json format from servlet. I tried JSONArray() which is not useful for me. JSONObject({"a":b,"c":d,"e":f}) is even difficult. I am looking at something which does not require additional handling in javascript. I know i can use JSONObject or JSONArray and handle it, but isnt it possible to directly send it in the format FLOT expects. Correct me if i am wrong anywhere.