# PropertyDeserialize Decorator

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

# Overview

function PropertyDeserialize(fn: (value: any) => any): Function;

# Description

Call the function before property is deserialization.

# Example

class Model {
   @PropertyDeserialize(v => v + 1)
   property: string;
}
1
2
3
4