Skip to content

CachedJsonMapper

@tsed/json-mapper

Usage

typescript
import { CachedJsonMapper } from "@tsed/specs/json-mapper/src/types/domain/JsonMapperCompiler";

See /packages/specs/json-mapper/src/types/domain/JsonMapperCompiler.ts.

Overview

ts
type CachedJsonMapper<Options> = {
    id: string;
    fn: JsonMapperCallback<Options>;
};

id

ts
id: string;

fn

ts
fn: JsonMapperCallback<Options>;

Released under the MIT License.