Build and manage the fast-json-stringify instances for the fastify framework.
This package is responsible for compiling the application's response JSON schemas into optimized functions to speed up the response time.
@fastify/fast-json-stringify-compiler |
fast-json-stringify |
Supported fastify |
|---|---|---|
| v1.x | v3.x | ^3.x |
| v2.x | v3.x | ^4.x |
| v3.x | v4.x | ^4.x |
| v3.x | v5.x | ^4.x |
The fast-json-stringify configuration is the default one. You can check it the default settings in the fast-json-stringify option documentation.
You can also override the default configuration by passing the serializerOpts configuration to the Fastify instance.
This module is already used as default by Fastify. If you need to provide to your server instance a different version, refer to the official doc.
This module provide a factory function to produce Serializer Compilers functions.
Licensed under MIT.