@Nonnull
    default Hologram deserialize(JsonElement element) {
        Preconditions.checkArgument(element.isJsonObject());
        JsonObject object = element.getAsJsonObject();

        Preconditions.checkArgument(object.has("position"));
        Preconditions.checkArgument(object.has("lines"));

        Position position = Position.deserialize(object.get("position"));
        JsonArray lineArray = object.get("lines").getAsJsonArray();
        List<String> lines = new ArrayList<>();
        for (JsonElement e : lineArray) {
            lines.add(e.getAsString());
        }

        return newHologram(position, lines);
    }
Deserializes a hologram instance from its {@link GsonSerializable serialized} form.

@param element the data
@return the hologram
helper/src/main/java/me/lucko/helper/hologram/HologramFactory.java