function isJSON( value ) {
	if ( typeof value !== 'string' ) {
		return false;
	}
	if ( !re.test( value ) ) {
		return false;
	}
	try {
		JSON.parse( value );
	} catch ( err ) { // eslint-disable-line no-unused-vars
		return false;
	}
	return true;
}
Tests if a value is a parseable JSON string.

@param {*} value - value to test
@returns {boolean} boolean indicating if a value is a parseable JSON string

@example
var v = isJSON( '{"a":5}' );
// returns true

@example
var v = isJSON( '{a":5}' );
// returns false