# PropertySerialize Decorator

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

# Overview

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

# Description

Call the function after property serialization.

# Example

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