Skip to content

JsonMapperCtx

@tsed/json-mapper

Usage

typescript
import { JsonMapperCtx } from "@tsed/json-mapper";

See /packages/specs/json-mapper/src/types/interfaces/JsonMapperMethods.ts.

Overview

ts
interface JsonMapperCtx<T = any, C = any> {
    collectionType: Type<C> | undefined;
    type: Type<T> | T;
    next: JsonMapperNext;
    options: {
        format?: string;
    };
}

collectionType

ts
collectionType: Type<C> | undefined;

type

ts
type: Type<T> | T;

next

ts
next: JsonMapperNext;

options

ts
options: {
     format?: string;
 };

Released under the MIT License.