Serialize an object.
@param obj The object to serialize.
@param type The type of the object.
@param name The name of the object.
@param propertyMap A map (string-to-object) of properties for serialization.
@param objectIdMap The objects and their ids that were already serialized.
@param output The destination of the serialization.
@exception SerializerException If an error occured during serialization.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.