书栈网 · BookStack 本次搜索耗时 0.027 秒,为您找到 26 个相关结果.
  • 4. 性能压测

    4. 性能压测 4.1. 测试环境 4.2. 测试案例 4.3. fastjson压测代码 4.4. okjson压测代码 4.5. 测试过程 4.6. 测试结果 4. 性能压测 4.1. 测试环境 CPU : Intel Core i5-7500 3.4GHz 3.4GHzMomey : 16GBOS : WINDOWS 10JAV...
  • 2. 一个示例

    2. 一个示例 2.1. 编写JSON文件 2.2. 编写实体类 2.3. 编写示例代码 2. 一个示例 来一个简单示例感受一下(所有代码可在源码包src\test\java\xyz\calvinwilliams\okjson 里找到) 2.1. 编写JSON文件 demo.json { "userName" : ...
  • 6. 关于本项目

    6. 关于本项目 6. 关于本项目 欢迎使用okjson ,如果你在使用中碰到了问题请告诉我,谢谢 ^_^ 源码托管地址 : 开源中国 、github Apache Maven <dependency> <groupId> xyz.calvinwilliams </groupId> <artifactId> okjson ...
  • 0. 介绍

    okjson - JAVA编写的小巧、高效、灵活的JSON处理器(JSON解析器+JSON生成器)
  • Response Parameters

    Response Parameters Overview Sample Json Response Parameters Response Parameters Overview In go-zero, the Write method of http.ResponseWriter is supported to return the re...
  • Template customization

    Template customization Overview Sample Scenes tip Preparation Edit handler template Compare the template before and after Modify response body comparison before and after ...
  • Customized Templates

    Template Modification Scenario Preparation Modify the handler template Comparison Comparison of response body Summary Template Modification Scenario Implement a unifor...
  • Custom

    Template Modification Scenario Preparation Modify the handler template Comparison Comparison of response body Summary Template Modification Scenario Implement a uniforml...
  • 自定义模板

    727 2021-09-28 《go-zero v1.2 教程》
    模板修改 场景 准备工作 修改handler 模板 修改模板前后对比 修改模板前后响应体对比 总结 模板修改 场景 实现统一格式的body响应,格式如下: { "code" : 0 , "msg" : "OK" , "data" : {} // ① } ① 实际响应数据 ...
  • Custom

    Template Modification Scenario Preparation Modify the handler template Comparison Comparison of response body Summary Template Modification Scenario Implement a uniforml...