Upida 介绍
Upida 是一个轻量级的库,主要的目的是反序列化 JSON 数据到域对象。实现了:
-
Assigns back-references to domain objects.
-
copies data from MVC model to persistent objects (with no custom code and no mappers).
-
Allows you to serialize persistent objects using only fields that you need, without danger of unneeded extra-data, lazy-loading or stack-overflow exceptions.
-
Allows you to define validation rules in Java without duplicating them in java script.
-
Allows you to validate fields more accurately: validate if a field is present in JSON, validate if a field is Failed to be parsed.
-
Allows you to extend validation with custom rules using custom code or existing rules.