src/seeder.js
function unmarshalBuffer(json) {
  _.forEach(json, function(value, key) {
    // Null check to prevent creation of Buffer when value is null
    if (value !== null && value.type==="Buffer") {
      json[key]= new Buffer(value.data);
    }
  });
  return json;
}
function unmarshalBuffer(json) {
  _.forEach(json, function(value, key) {
    // Null check to prevent creation of Buffer when value is null
    if (value !== null && value.type==="Buffer") {
      json[key]= new Buffer(value.data);
    }
  });
  return json;
}
function unmarshalBuffer ( json ) { _ . forEach ( json , function ( value , key ) { // Null check to prevent creation of Buffer when value is null if ( value !== null && value . type === "Buffer" ) { json [ key ] = new Buffer ( value . data ) ; } } ) ; return json ; }
Transform all selerialized Buffer value in a Buffer value inside a json object

@param {json} json with serialized Buffer value.
@return {json} json with Buffer object.
Transform all selerialized Buffer value in a Buffer value inside a json object