function _fnAjaxDataSrc(settings, json, write) {
		var dataProp = 'data';

		if ($.isPlainObject(settings.ajax) && settings.ajax.dataSrc !== undefined) {
			// Could in inside a `dataSrc` object, or not!
			var dataSrc = settings.ajax.dataSrc;

			// string, function and object are valid types
			if (typeof dataSrc === 'string' || typeof dataSrc === 'function') {
				dataProp = dataSrc;
			}
			else if (dataSrc.data !== undefined) {
				dataProp = dataSrc.data;
			}
		}

		if (!write) {
			if (dataProp === 'data') {
				// If the default, then we still want to support the old style, and safely ignore
				// it if possible
				return json.aaData || json[dataProp];
			}

			return dataProp !== "" ?
				_fnGetObjectDataFn(dataProp)(json) :
				json;
		}

		// set
		_fnSetObjectDataFn(dataProp)(json, write);
	}
Get the data from the JSON data source to use for drawing a table. Using
`_fnGetObjectDataFn` allows the data to be sourced from a property of the
source object, or from a processing function.
 @param {object} settings dataTables settings object
 @param  {object} json Data source object / array from the server
 @return {array} Array of data to use