Methods
(static) reader(mimetype, data) → {Object}
Converts specified data using specified mimetype against module:marshals/body.map
to determine
the marshal module to be used to marshal output.
Parameters:
Name | Type | Description |
---|---|---|
mimetype |
String | Body mimemimetype |
data |
Object | Data to be marshalled |
- Source:
- See:
Returns:
- Type
- Object