public interface IQuimpSerialize
Serializer class calls methods from this interface before and after serialization. The main purpose of these method is to allow to rebuild objects after restoration or to prepare them before saving.
Modifier and Type | Method and Description |
---|---|
void |
afterSerialize()
This method is called after restoring object from JSON but before returning the object.
|
void |
beforeSerialize()
This method is called just before JSON is generated.
|
void beforeSerialize()
Serializer.save(String)
void afterSerialize() throws Exception
Exception
- from wrapped object in any problem. This is implementation dependentSerializer.load(String)
Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.