Interface BaseSerDesCtx<Fns>

interface BaseSerDesCtx<Fns> {
    camelSnakeCache?: Record<string, string>;
    codecs: Codecs<Fns>;
    customState: Record<string, any>;
    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>
path: string[]
rootObj: SomeDoc

Methods