Interface BaseSerCtx<Fns>

interface BaseSerCtx<Fns> {
    camelSnakeCache?: Record<string, string>;
    codecs: Codecs<Fns>;
    customState: Record<string, any>;
    mutatingInPlace: boolean;
    path: string[];
    rootObj: SomeDoc;
    continue(): readonly [2];
    done<T>(obj?): readonly [0, undefined | T];
    recurse<T>(obj?): readonly [1, undefined | T];
}

Type Parameters

Hierarchy (view full)

Properties

camelSnakeCache?: Record<string, string>
codecs: Codecs<Fns>
customState: Record<string, any>
mutatingInPlace: boolean
path: string[]
rootObj: SomeDoc

Methods