Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

PropertyProcessable_cn

高铁 edited this page Jul 16, 2017 · 3 revisions

这是一个新增的自定义反序列化接口。

interface PropertyProcessable {
    // 返回property的类型,如果返回空,则由parser自行推断。
    Type getType(String name);

    // 处理属性值
    void apply(String name, Object value);
}
Clone this wiki locally