/// export type FastJsonListener = (data: FastJsonData) => void; export interface FastJsonOptions { /** * Path separator to use in string JSON paths. This can * be used to allow JSON keys with special characters like dots. Setting this to / * allows JSON paths like user/first.name which will be separated into * ['user', 'first.name']. */ pathSeparator?: string; } export interface FastJsonStackFrame { type: number; start: number; end: number; key: string; index: number; } export type FastJsonData = string | Buffer; export type FastJsonPath = string[] | string;