UNPKG

flagpole

Version:

Simple and fast DOM integration, headless or headful browser, and REST API testing framework.

18 lines (17 loc) 644 B
import { ProtoResponse } from "../response"; import { iJPath } from "./jpath"; import { HttpResponse } from "../httpresponse"; import { iResponse, iValue } from "../interfaces"; import { ResponseType } from "../enums"; 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; }