json() {
		var result = {
			assetIndex:             this.__assetIndex.json(),
			assets:                 this.__assets,
			downloads:              this.__downloads,
			id:                     this.__id,
			inheritsFrom:           this.__inheritsFrom,
			jar:                    this.__jar,
			libraries:              [],
			logging:                this.__logging,
			mainClass:              this.__mainClass,
			minimumLauncherVersion: this.__minLauncherVersion,
			releaseTime:            this.__releaseTime,
			time:                   this.__time,
			type:                   this.__type
		};
		this.__libraries.forEach(library => {
			result.libraries.push(library.json());
		});
		if (this.__legacyArguments) {
			var args = this.__arguments.game.join(' ') + " " + this.__arguments.jvm.join(' ');
			result.minecraftArguments = args.trimRight();
		} else {
			result.arguments = this.__arguments;
		}
		for (var key in result) // Clean out any undefined records
			if (result[key] === undefined)
				delete result[key];
		return result;
	}
/**
	 * Get the JSON representation for this version
	 *
	 * @return {JSON Object}
	 */
Get the JSON representation for this version
@return {JSON Object}
Get the JSON representation for this version @return { JSON Object }
json() {
		var result = {
			assetIndex:             this.__assetIndex.json(),
			assets:                 this.__assets,
			downloads:              this.__downloads,
			id:                     this.__id,
			inheritsFrom:           this.__inheritsFrom,
			jar:                    this.__jar,
			libraries:              [],
			logging:                this.__logging,
			mainClass:              this.__mainClass,
			minimumLauncherVersion: this.__minLauncherVersion,
			releaseTime:            this.__releaseTime,
			time:                   this.__time,
			type:                   this.__type
		};
		this.__libraries.forEach(library => {
			result.libraries.push(library.json());
		});
		if (this.__legacyArguments) {
			var args = this.__arguments.game.join(' ') + " " + this.__arguments.jvm.join(' ');
			result.minecraftArguments = args.trimRight();
		} else {
			result.arguments = this.__arguments;
		}
		for (var key in result) 
			if (result[key] === undefined)
				delete result[key];
		return result;
	}
json ( ) { var result = { assetIndex : this . __assetIndex . json ( ) , assets : this . __assets , downloads : this . __downloads , id : this . __id , inheritsFrom : this . __inheritsFrom , jar : this . __jar , libraries : [ ] , logging : this . __logging , mainClass : this . __mainClass , minimumLauncherVersion : this . __minLauncherVersion , releaseTime : this . __releaseTime , time : this . __time , type : this . __type } ; this . __libraries . forEach ( library => { result . libraries . push ( library . json ( ) ) ; } ) ; if ( this . __legacyArguments ) { var args = this . __arguments . game . join ( ' ' ) + " " + this . __arguments . jvm . join ( ' ' ) ; result . minecraftArguments = args . trimRight ( ) ; } else { result . arguments = this . __arguments ; } for ( var key in result ) if ( result [ key ] === undefined ) delete result [ key ] ; return result ; }
Get the JSON representation for this version
 @return {JSON Object}
Get the JSON representation for this version @return { JSON Object }
// Clean out any undefined records