flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
19 lines (18 loc) • 699 B
TypeScript
import { ProtoResponse } from "./response";
import { Value } from './value';
import { iJPath } from './jpath';
import { HttpResponse } from './httpresponse';
import { ResponseType } from '.';
import { iResponse } from './interfaces';
export declare class JsonResponse extends ProtoResponse implements iResponse {
protected _json: {};
protected _jPath: iJPath | undefined;
readonly responseTypeName: string;
readonly responseType: ResponseType;
init(httpResponse: HttpResponse): void;
getRoot(): any;
evaluate(context: any, callback: Function): Promise<any>;
find(path: string): Promise<Value>;
findAll(path: string): Promise<Value[]>;
private loadJmesPath;
}