I am using jqGrid 4.4.1 and I recently added json2.js because I need to convert a javascript array object to a string to save on the page and then pass this value back on the next request.
It seeems to me you do not read carfully my previous post.
You can use
xmlJsonClass.toJson( object, name, …)
This function do what you want. There are other two default parameters (please look at this function). The function is used in filtering (seraching) and other places if the the build in tojson is not available.
Thank you for your help and especially your patience. I'm pretty new to jqGrid and it seems I am always trying to do something no one else has talked about if they have done it. Most probably I am trying to do something the hard way when it should be very simple. In any case I am trying to use your suggestion but I haven't been able to get it to work.