UNPKG

@n1k1t/mock-server

Version:

The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations

17 lines 525 B
import { JSONPathOptions } from 'jsonpath-plus'; export interface IJsonPathExtractionResult { value: object; parent: object; pointer: string; parentProperty: string; } export declare const extractWithJsonPathSafe: (params: Omit<JSONPathOptions, "resultType">) => { readonly status: "OK"; readonly results: IJsonPathExtractionResult[]; readonly error?: undefined; } | { readonly status: "ERROR"; readonly error: Error; readonly results?: undefined; }; //# sourceMappingURL=json.d.ts.map