# 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.
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing