UNPKG

@jsonhero/path

Version:

An easy way to query and filter JSON objects

10 lines (9 loc) 279 B
import { JSONHeroPath } from '../index'; declare class QueryResult { readonly depth: number; readonly path: JSONHeroPath; readonly object: any; constructor(depth: number, path: JSONHeroPath, object: any); flatten(): QueryResult; } export default QueryResult;