# Name Decorator jsonMapper schema property

Module
import { Name } from "@tsed/common"
Source/packages/common/src/jsonschema/decorators/propertyName.ts

# Overview

function Name(name: string): PropertyDecorator;

# Description

Create an alias of the propertyKey that must be used by the converter.

TIP

This decorator is used by the Converters to deserialize correctly you model.

# Example

class Model {
   @Name(String)
   property: string[];
}
1
2
3
4