mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
539 B
TypeScript
14 lines
539 B
TypeScript
// Type definitions for jmespath 0.15
|
|
// Project: https://github.com/jmespath/jmespath.js
|
|
// Definitions by: Jeffery Grajkowski <https://github.com/pushplay>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Take a JSON document and transform it into another JSON document
|
|
* through a JMESPath expression. See: http://jmespath.org/
|
|
* @param jsonDoc the document to transform
|
|
* @param query a JMESPath expression
|
|
* @return the transformed document
|
|
*/
|
|
export function search(jsonDoc: any, query: string): any;
|