lib/json-dry.js
function recurseGeneralObject(dryReplacer, value) {

	var new_value = {},
	    keys = Object.keys(value),
	    key,
	    i;

	for (i = 0; i < keys.length; i++) {
		key = keys[i];
		new_value[key] = dryReplacer(value, key, value[key]);
	}

	return new_value;
}
function recurseGeneralObject(dryReplacer, value) {

	var new_value = {},
	    keys = Object.keys(value),
	    key,
	    i;

	for (i = 0; i < keys.length; i++) {
		key = keys[i];
		new_value[key] = dryReplacer(value, key, value[key]);
	}

	return new_value;
}
function recurseGeneralObject ( dryReplacer , value ) { var new_value = { } , keys = Object . keys ( value ) , key , i ; for ( i = 0 ; i < keys . length ; i ++ ) { key = keys [ i ] ; new_value [ key ] = dryReplacer ( value , key , value [ key ] ) ; } return new_value ; }
Recursively replace the given regular object

@author   Jelle De Loecker   <jelle@develry.be>
@since    1.0.11
@version  1.0.11

@param    {Function}   dryReplacer
@param    {Object}     value

@return   {Object}
Recursively replace the given regular object