public static JsonObject serialize(Vector4l vector4l) {
        return JsonBuilder.object()
                .add("x", vector4l.getX())
                .add("y", vector4l.getY())
                .add("z", vector4l.getZ())
                .add("w", vector4l.getW())
                .build();
    }
Utility for serializing and deserializing flowpowered Vector instances
helper/src/main/java/me/lucko/helper/serialize/VectorSerializers.java