# zson **Repository Path**: mirrors/zson ## Basic Information - **Project Name**: zson - **Description**: Zson 是一个简单、方便、轻量级的 json 数据格式处理类库,示例代码: 功能: 支持普通JDK类包括任意Java Bean Class、Collection、Map、Date - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/zson - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-14 - **Last Updated**: 2025-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Zson ==== Zson is a library for reading and writing json in Java. Its designed to be simple and light, yet complete. ### it supports: 1. date format 2. null process 3. unicode encode/decode 4. extends attributes process ### How to use Zson: //Serialize List list=new ArrayList(); String json=new JsonSerializer().prettyFormat(2).ignoreNull(false).unicodeOutput(true) .dateFormat("yyyy-MM-dd").serialize(list); //Deserilize Type type=new TypeReference>(){}.getType(); List result=(List)new JsonDeserializer().deserialize(json,type); ### 作者博客 (http://www.zhouhaocheng.cn)