Module: models/jsonpath

Shared logic for xpath selector

Source:

Methods

(inner) select(selector, possibleJSON, logger) → {Object}

Returns xpath value(s) from given xml

Parameters:
Name Type Description
selector String

The xpath selector

possibleJSON String

the JSON string

logger Logger

Optional, used to log JSON parsing errors

Source:
Returns:
Type
Object