Visitar URL original
[Feature] 8.x版本没有Demo吗 · Issue #853 · APIJSON/APIJSON · GitHub
Skip to content

[Feature] 8.x版本没有Demo吗 #853

Description

@zc0707

Description

8.x版本没有Demo工程吗,最新版本只有7.1.0

Activity

  1. TommyLemon commented on Apr 12, 2026

    @TommyLemon
    Member

    @zc0707
    APIJSONBoot-MultiDataSource 用了最新 8.1.5 的
    https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource

    APIJSONDemo-Jackson, APIJSONDemo-fastjson2, APIJSONDemo-Gson 用了 8.0.2
    https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONDemo-Jackson
    https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONDemo-fastjson2
    https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-Gson

    其它的还没时间升级,8.0 把唯一的第三方依赖 fastjson 去掉了,导致不少地方要加泛型
    https://github.com/Tencent/APIJSON/releases/tag/8.0.0

    不过也提供了 JSON 插件,用了 apijson-jackson, apijson-fastjson2, apijson-gson 中的插件就可以简化到和之前差不多简单
    https://github.com/APIJSON/apijson-jackson
    https://github.com/APIJSON/apijson-fastjson2
    https://github.com/APIJSON/apijson-gson

    可以参考以上 Demo 来帮忙升级下其它的 Demo 提 PR,开源要大家一起参与贡献才会更美好~
    image

    提 PR 贡献代码的步骤可参考:
    https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md#%E4%B8%BA%E4%BB%80%E4%B9%88%E4%B8%80%E5%AE%9A%E8%A6%81%E8%B4%A1%E7%8C%AE%E4%BB%A3%E7%A0%81

  2. zc0707 commented on Apr 13, 2026

    @zc0707
    Author

    收到 感谢

  3. added a commit that references this issue on May 16, 2026
    bf4ef18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions