function reviveComplex( key, value ) {
	var ctor;
	if (
		value &&
		value.type &&
		isNumber( value.re ) &&
		isNumber( value.im )
	) {
		ctor = ctors[ value.type ];
		if ( ctor ) {
			return new ctor( value.re, value.im );
		}
	}
	return value;
}
Revives a JSON-serialized complex number.

@param {string} key - key
@param {*} value - value
@returns {(*|Complex)} value or complex number

@example
var parseJSON = require( '@stdlib/utils/parse-json' );

var str = '{"type":"Complex128","re":5,"im":3}';

var z = parseJSON( str, reviveComplex );
// returns <Complex128>