src/aria/modules/requestHandler/RequestHandler.js
function (jsonData, requestObject) {
            var reqSerializer = requestObject ? requestObject.requestJsonSerializer : null;
            var options = reqSerializer ? reqSerializer.options : null;
            var instance = reqSerializer ? reqSerializer.instance : null;

            if (instance) {
                return ariaUtilsJson.convertToJsonString(jsonData, ariaUtilsJson.copy(options, true), instance);
            } else {
                options = options || this._requestJsonSerializer.options;
                instance = this._requestJsonSerializer.instance;

                return ariaUtilsJson.convertToJsonString(jsonData, ariaUtilsJson.copy(options, true), instance);
            }
        }
function (jsonData, requestObject) {
            var reqSerializer = requestObject ? requestObject.requestJsonSerializer : null;
            var options = reqSerializer ? reqSerializer.options : null;
            var instance = reqSerializer ? reqSerializer.instance : null;

            if (instance) {
                return ariaUtilsJson.convertToJsonString(jsonData, ariaUtilsJson.copy(options, true), instance);
            } else {
                options = options || this._requestJsonSerializer.options;
                instance = this._requestJsonSerializer.instance;

                return ariaUtilsJson.convertToJsonString(jsonData, ariaUtilsJson.copy(options, true), instance);
            }
        }
function ( jsonData , requestObject ) { var reqSerializer = requestObject ? requestObject . requestJsonSerializer : null ; var options = reqSerializer ? reqSerializer . options : null ; var instance = reqSerializer ? reqSerializer . instance : null ; if ( instance ) { return ariaUtilsJson . convertToJsonString ( jsonData , ariaUtilsJson . copy ( options , true ) , instance ) ; } else { options = options || this . _requestJsonSerializer . options ; instance = this . _requestJsonSerializer . instance ; return ariaUtilsJson . convertToJsonString ( jsonData , ariaUtilsJson . copy ( options , true ) , instance ) ; } }
Serializes the data by using the serializer specified in the request or the one specified in the application
environment
@param {Object} jsonData
@param {aria.modules.RequestBeans:RequestObject} requestObject
@return {String} Stringified representation of the input data
Serializes the data by using the serializer specified in the request or the one specified in the application environment