class-validator#IsJSON TypeScript Examples
The following examples show how to use
class-validator#IsJSON.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: create-survey-media.dto.ts From aqualink-app with MIT License | 5 votes |
@IsJSON()
@IsOptional()
readonly metadata: any = {};
Example #2
Source File: find.dto.ts From codeclannigeria-backend with MIT License | 5 votes |
@IsOptional()
@IsJSON()
search?: string;
Example #3
Source File: find.dto.ts From codeclannigeria-backend with MIT License | 5 votes |
@IsJSON()
@IsOptional()
opts?: string;
Example #4
Source File: create-message-template.dto.ts From bank-server with MIT License | 5 votes |
@IsOptional()
@ApiPropertyOptional()
@IsJSON()
actions?: { param: string };