src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js
function (oData, sFileType) {
				// code extension and properties files do not need formation
				if ((sFileType === "js") || (sFileType === "properties")) {
					return oData;
				}
				// other files should be formatted to JSON
				try {
					oData = JSON.parse(oData);
					return JSON.stringify(oData, null, '\t');
				} catch (oError){
					var ErrorUtils = sap.ui.require("sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils");
					ErrorUtils.displayError("Error", oError.name, oError.message);
					return oData;
				}
			}
function (oData, sFileType) {
				// code extension and properties files do not need formation
				if ((sFileType === "js") || (sFileType === "properties")) {
					return oData;
				}
				// other files should be formatted to JSON
				try {
					oData = JSON.parse(oData);
					return JSON.stringify(oData, null, '\t');
				} catch (oError){
					var ErrorUtils = sap.ui.require("sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils");
					ErrorUtils.displayError("Error", oError.name, oError.message);
					return oData;
				}
			}
function ( oData , sFileType ) { // code extension and properties files do not need formation if ( ( sFileType === "js" ) || ( sFileType === "properties" ) ) { return oData ; } // other files should be formatted to JSON try { oData = JSON . parse ( oData ) ; return JSON . stringify ( oData , null , '\t' ) ; } catch ( oError ) { var ErrorUtils = sap . ui . require ( "sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils" ) ; ErrorUtils . displayError ( "Error" , oError . name , oError . message ) ; return oData ; } }
Pretty printer for specific file types.

@param {Object} oData - data to be formatted
@param {String} sFileType - file type of data
@returns {Object} oData - data after formatting
@public
Pretty printer for specific file types .