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

ObjectSerializer_cn

wenshao edited this page May 4, 2016 · 6 revisions

fastjson提供了自定义序列化的接口,当你通过配置无法满足自定义序列化需求时,你可以使用ObjectSerializer接口。

相关API

public interface ObjectSerializer {
    void write(JSONSerializer serializer, 
               Object object, 
               Object fieldName, 
               Type fieldType, 
               int features) throws IOException;
}
Clone this wiki locally