Class: CsvService

Services.CsvService

new CsvService()

Source:

Methods

(static) flattenObject(obj)

Iterates through the properties of an object creating a flat structure
Parameters:
Name Type Description
obj object
Source:
Returns:
A flattened object

(static) self.flatten(data)

Iterates through an array creating an array of flattened objects
Parameters:
Name Type Description
data array An array of complex objects
Source:
Returns:
A flatten array of array values

(static) unicornString(camelCase)

Creates a magical and readable string from camelcase
Parameters:
Name Type Description
camelCase string
Source:
Returns:
A human readable string