- Source:
Methods
(protected, static) parse(data) → {Array.<module:@citation-js/core~CSL>}
Parse entities from an API response.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The input data |
- Source:
Returns:
The formatted input data
- Type
- Array.<module:@citation-js/core~CSL>
(protected, static) parseAsync(data) → {Promise.<Array.<module:@citation-js/core~CSL>>}
Asynchronously parse entities from an API response.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The input data |
- Source:
Returns:
The formatted input data
- Type
- Promise.<Array.<module:@citation-js/core~CSL>>