static GsonDataComponentValue gsonDataComponentValue(final @NotNull JsonElement data) {
    if (data instanceof JsonNull) {
      return GsonDataComponentValueImpl.RemovedGsonComponentValueImpl.INSTANCE;
    } else {
      return new GsonDataComponentValueImpl(requireNonNull(data, "data"));
    }
  }
Create a box for item data that can be understood by the gson serializer.

@param data the item data to hold
@return a newly created item data holder instance
@since 4.17.0
text-serializer-gson/src/main/java/net/kyori/adventure/text/serializer/gson/GsonDataComponentValue.java