json处理类库 Zson

码农软件 · 软件分类 · JSON/BSON开发包 · 2019-03-31 16:26:26

软件介绍

简单、方便、轻量级的json数据格式处理类库,示例代码:

功能:
  支持普通JDK类包括任意Java Bean Class、Collection、Map、Date或enum
  零依赖(没有依赖其它任何类库除了JDK)

//Serialize
List<SomeBean> list=new ArrayList<SomeBean>();
String json=new JsonSerializer().prettyFormat(2).ignoreNull(false)
                                .dateFormat("yyyy-MM-dd").serialize(list);

//Deserilize
Type type=new TypeReference<List<SomeBean>>(){}.getType();
List<SomeBean> result=(List<SomeBean>)new JsonDeserializer().deserialize(json,type);

本文地址:https://www.codercto.com/soft/d/2565.html

Understanding Computation

Understanding Computation

Tom Stuart / O'Reilly Media / 2013-6-3 / USD 39.99

Finally, you can learn computation theory and programming language design in an engaging, practical way. Understanding Computation explains theoretical computer science in a context you'll recognize, ......一起来看看 《Understanding Computation》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具