Is your feature request related to a problem? Please describe.
Add object serialization support, serialize all non-transient/non-stiatic fields.
Classes implemented writeObject/readObejct/writeReplace/readResolve are not handled by this serializer.
Describe the solution you'd like
- Primitive types should be handled specially to avoid boxing cost
- Swich should be used for common types to avoid virtual method call cost