# PrimitiveConverter Class

Module
import { PrimitiveConverter } from "@tsed/common"
Source/packages/common/src/converters/components/PrimitiveConverter.ts

# Overview

class PrimitiveConverter implements IConverter {
    deserialize(data: string, target: any): String | Number | Boolean | void | null;
    serialize(object: String | Number | Boolean): any;
}

# Description

Converter component for the String, Number and Boolean Types.

# Members

deserialize(data: string, target: any): String | Number | Boolean | void | null

serialize(object: String | Number | Boolean): any