public static XsonWriter getWriter(Object object) {
		Class<?> clazz = object.getClass();
		XsonWriter writer = XsonConst.WRITER_MAP.get(clazz);
		if (null != writer) {
			return writer;
		}
		if (clazz.isArray()) {
			return ArraySerializer.instance;
		}
		if (object instanceof Collection) {
			return CollectionSerializer.instance;
		}
		if (object instanceof Map) {
			return MapSerializer.instance;
		}
		if (object instanceof Enum) {
			return EnumSerializer.instance;
		}
		if (object instanceof TimeZone) {
			return TimeZoneSerializer.instance;
		}
		writer = generateInstance(clazz);
		XsonConst.WRITER_MAP.put(clazz, writer);
		return writer;
	}