lib/serializer.js
function parseCollection (type, data, relations, options) {
  var result = []

  _.each(data, function (value) {
    result.push(parseResource(type, value, relations, options))
  })

  return result
}
function parseCollection (type, data, relations, options) {
  var result = []

  _.each(data, function (value) {
    result.push(parseResource(type, value, relations, options))
  })

  return result
}
function parseCollection ( type , data , relations , options ) { var result = [ ] _ . each ( data , function ( value ) { result . push ( parseResource ( type , value , relations , options ) ) } ) return result }
Parses a collection of resources
@private
@memberOf {Serializer}
@param {String} type
@param {Object} data
@param {Object} relations
@param {Object} options
@return {Array}
Parses a collection of resources