# getJsonType Function

Module
import { getJsonType } from "@tsed/common"
Source/packages/common/src/jsonschema/utils/getJsonType.ts

# Overview

function getJsonType(value: any): JSONSchema6TypeName | JSONSchema6TypeName[];

# Description

Get json type of the give value.

WARNING

Will be remove in v6 in favor of getJsonSchema from @tsed/schema.