src/core/base/wnComponent.js
function (obj)
		{
			if (typeof obj === 'undefined')
			{
				obj = this.getConfig();
				delete obj.class;
			}

			if (typeof obj == 'object')
			{

				delete obj.autoInit;
				delete obj.id;
				delete obj.serverID;
				delete obj.modulePath;

				for (o in obj)
				{
					this.exportConfig(obj[o]);
				}
			}

			return JSON.stringify(obj, null, '\t');
		}
function (obj)
		{
			if (typeof obj === 'undefined')
			{
				obj = this.getConfig();
				delete obj.class;
			}

			if (typeof obj == 'object')
			{

				delete obj.autoInit;
				delete obj.id;
				delete obj.serverID;
				delete obj.modulePath;

				for (o in obj)
				{
					this.exportConfig(obj[o]);
				}
			}

			return JSON.stringify(obj, null, '\t');
		}
function ( obj ) { if ( typeof obj === 'undefined' ) { obj = this . getConfig ( ) ; delete obj . class ; } if ( typeof obj == 'object' ) { delete obj . autoInit ; delete obj . id ; delete obj . serverID ; delete obj . modulePath ; for ( o in obj ) { this . exportConfig ( obj [ o ] ) ; } } return JSON . stringify ( obj , null , '\t' ) ; }
Export to JSON the components's config.
@param object $obj
@return object
Export to JSON the components s config .