toJSON() {

		const data = {
			metadata: {
				version: 4.7,
				type: 'Curve',
				generator: 'Curve.toJSON'
			}
		};

		data.arcLengthDivisions = this.arcLengthDivisions;
		data.type = this.type;

		return data;

	}
Serializes the curve into JSON.

@return {Object} A JSON object representing the serialized curve.
@see {@link ObjectLoader#parse}