public static Vector3d deserialize3d(JsonElement element) {
        return new Vector3d(
                element.getAsJsonObject().get("x").getAsDouble(),
                element.getAsJsonObject().get("y").getAsDouble(),
                element.getAsJsonObject().get("z").getAsDouble()
        );
    }
Utility for serializing and deserializing flowpowered Vector instances
helper/src/main/java/me/lucko/helper/serialize/VectorSerializers.java