nestjs-json-pipe
v0.0.1
Published
Pipe for parsing a (base64 encoded) json string
Downloads
3
Readme
NestJS json-pipe
Pipes for base64 decoding and JSON parsing, useful for receiving complex objects via query params
Usage
Full example in test
folder
@Get('base64json')
base64json(@Query('test', Base64DecodePipe, JsonPipe) object: any): any {
return object;
}