Make GraphHopper serializable

Hello all,

I am new to GraphHopper, for example I want to convert a GraphHopper Object to byte via serialization, I am getting an error that says this Object is not serializable.

Is there a way to make the GraphHopper class Serializable?

Thank you.

Hard to say without knowing what exactly you are trying to do, but generally you can use serialization libraries like Jackson to serialize classes that do not implement the Serializable interface. Why do you want to serialize the GraphHopper class?