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