让 Fiber 更快
少于1分钟
⚡ Make Fiber Faster 让 Fiber 更快
Custom JSON Encoder/Decoder 自定义 JSON 编码器/解码器
Since Fiber v2.32.0, we use encoding/json as default json library due to stability and producibility. However, the standard library is a bit slow compared to 3rd party libraries. If you’re not happy with the performance of encoding/json, we recommend you to use these libraries:
自 Fiber v2.32.0 起,我们使用 encoding/json 作为默认 json 库,因为它稳定且可生产。但是,与第三方库相比,标准库有点慢。如果您对 encoding/json 的性能不满意,我们建议您使用以下库:
Example 示例
|
|