src/aria/core/IOFilter.js
function (req, jsonData) {
            var sender = req.sender;
            req.data = (sender && sender.classpath == "aria.modules.RequestMgr")
                    ? sender.requestObject.requestHandler.prepareRequestBody(jsonData, sender.requestObject)
                    : ariaUtilsJson.convertToJsonString(jsonData);

        }
function (req, jsonData) {
            var sender = req.sender;
            req.data = (sender && sender.classpath == "aria.modules.RequestMgr")
                    ? sender.requestObject.requestHandler.prepareRequestBody(jsonData, sender.requestObject)
                    : ariaUtilsJson.convertToJsonString(jsonData);

        }
function ( req , jsonData ) { var sender = req . sender ; req . data = ( sender && sender . classpath == "aria.modules.RequestMgr" ) ? sender . requestObject . requestHandler . prepareRequestBody ( jsonData , sender . requestObject ) : ariaUtilsJson . convertToJsonString ( jsonData ) ; }
Helper method to set a json object as the POST data in a request.
@param {aria.core.CfgBeans:IOAsyncRequestCfg} req
@param {Object} jsonData
Helper method to set a json object as the POST data in a request .