function toJSON() {
	/* eslint-disable no-invalid-this */
	var out = {};
	out.type = 'Complex64';
	out.re = this.re;
	out.im = this.im;
	return out;
}
Serializes a complex number as a JSON object.

@private
@returns {Object} JSON representation