The record keyword is a concise way to declare a class that is primarily intended to store data, leading to a significant reduction of boilerplate code.
In addition, I have updated Gson to version 2.10.1, as only versions >= 2.10 support the serialization and deserialization of Java records.
Finally, I have also applied code formatting with Spotless.
The
record
keyword is a concise way to declare a class that is primarily intended to store data, leading to a significant reduction of boilerplate code. In addition, I have updated Gson to version 2.10.1, as only versions >= 2.10 support the serialization and deserialization of Java records. Finally, I have also applied code formatting with Spotless.