UNPKG

@aws-lambda-powertools/jmespath

Version:

A type safe and modern jmespath module to parse and extract data from JSON documents using JMESPath

15 lines 512 B
import type { JMESPathParsingOptions, JSONObject, Node } from './types.js'; declare class ParsedResult { expression: string; parsed: Node; constructor(expression: string, parsed: Node); /** * Perform a JMESPath search on a JSON value. * * @param value - The JSON value to search * @param options - The parsing options to use */ search(value: JSONObject, options?: JMESPathParsingOptions): unknown; } export { ParsedResult }; //# sourceMappingURL=ParsedResult.d.ts.map