Im trying to save a gamestate object as a Gson file in java, but i get the error Unable to make field private final float javafx.scene.paint.Color.red accessible: module javafx.graphics does not "opens javafx.scene.paint" to module com.google.gson
How do I open the module to Gson?