---
url: /api/specs/json-mapper/types/domain/type-type-mapper-entry.md
description: api documentation of TypeMapperEntry from @tsed/json-mapper
---

## Usage

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

> See [/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts](https://github.com/tsedio/tsed/blob/v8.44.6/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts#L0-L0).

## Overview

```ts
type TypeMapperEntry = {
    mapper: JsonMapperMethods;
    name: string;
    fn: JsonMapperCallback<any>;
};
```

## Description

A type mapper registered from the types container: the mapper, the name of its model and the function it was
registered with. Subclasses add the values their outdated check compares.

## mapper

```ts
mapper: JsonMapperMethods;
```

## name

```ts
name: string;
```

## fn

```ts
fn: JsonMapperCallback<any>;
```
