backbone-dynamodb.js
function deserializeAllDates(model, json) {
	_.each(json, function (value, name) {
		if ( !_.isDate( value ) && !isBackboneInstance( value ) ) {
			if ( _.isString( value ) && model.isSerializedDate( name, value ) ) {
				json[ name ] = model.deserializeDate( name, value );
			} else if ( !isScalar( value ) && isRecursive( value ) ) {
				deserializeAllDates( model, value );
			}
		}
	});

	return json;
}
function deserializeAllDates(model, json) {
	_.each(json, function (value, name) {
		if ( !_.isDate( value ) && !isBackboneInstance( value ) ) {
			if ( _.isString( value ) && model.isSerializedDate( name, value ) ) {
				json[ name ] = model.deserializeDate( name, value );
			} else if ( !isScalar( value ) && isRecursive( value ) ) {
				deserializeAllDates( model, value );
			}
		}
	});

	return json;
}
function deserializeAllDates ( model , json ) { _ . each ( json , function ( value , name ) { if ( ! _ . isDate ( value ) && ! isBackboneInstance ( value ) ) { if ( _ . isString ( value ) && model . isSerializedDate ( name , value ) ) { json [ name ] = model . deserializeDate ( name , value ) ; } else if ( ! isScalar ( value ) && isRecursive ( value ) ) { deserializeAllDates ( model , value ) ; } } } ) ; return json ; }
Recursively deserializes all date values in an object.

@param {Backbone.DynamoDB.Model} model
@param {Object} json
Recursively deserializes all date values in an object .