UpidaJSON反序列化库

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

Upida 是一个轻量级的库,主要的目的是反序列化 JSON 数据到域对象。实现了:

  1. Assigns back-references to domain objects.

  2. Copies data from MVC model to persistent objects (with no custom code and no mappers).

  3. Allows you to serialize persistent objects using only fields that you need, without danger of unneeded extra-data, lazy-loading or stack-overflow exceptions.

  4. Allows you to define validation rules in Java without duplicating them in java script.

  5. Allows you to validate fields more accurately: validate if a field is present in JSON, validate if a field is failed to be parsed.

  6. Allows you to extend validation with custom rules using custom code or existing rules.

浏览 4
点赞
评论
收藏
分享

手机扫一扫分享

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

手机扫一扫分享

编辑
举报