Module that provides formatter to convert result of search into JSON.
(require("json"))(data, settings)
Format/convert result of search into JSON.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | Result of search. |
settings |
Object | Format settings. See format for details. |
- See:
Returns:
JSON representing result of search.
- Type
- String