instantiate
public Object instantiate(Class objectClass,
FSTObjectInput in,
FSTClazzInfo serializationInfo,
FSTClazzInfo.FSTFieldInfo referencee,
int streamPosition)
throws Exception
return null to delegate object instantiation to FST. If you want to implement object instantiation yourself, usually you leave the readObject method empty
and handle instantiation and reading the object here. You must call registerObjectForWrite immediately after creating it on the FSTObjectInput
- Specified by:
instantiate in interface FSTObjectSerializer
- Overrides:
instantiate in class FSTMapSerializer
- Throws:
Exception