json-smartJSON处理类库

联合创作 · 2023-09-21 21:37

Json-smart 是一个高性能的JSON处理类库。 Getting Start guide


Json-smart 接口跟 json-simple 十分相似,因此很容易从json-simple迁至 json-smart。 Migration Guide Available


Json-smart 是基于Java的最快的Json API之一。 详情请参考测试基准. Benchmarks


特点:



  • 比 json-simple 快(至少两倍) See Benchmarks

  • 使用 Java 范型。

  • 允许 Parser 灵活定制。

  • json 生成器能生成压缩后的 json 数据。

  • 由于接口一致,使用 json-simple 的项目可以很容易迁至 json-smart。

  • 使用 maven 构建。

  • maven 中央库上可用。
     <dependency>
    <groupId>net.minidev</groupId>
    <artifactId>json-smart</artifactId>
    <version>1.1.1</version>
    </dependency>

浏览 20
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报