Parameters should be way easier to use. It should be as simple as defining a field and adding an annotation.
For this a custom annotation shall be added that defines the field as parameter, adds it to the configuration interface and includes it in saved json.
https://github.com/google/gson/blob/master/UserGuide.md#user-defined-exclusion-strategies
Parameters should be way easier to use. It should be as simple as defining a field and adding an annotation.
For this a custom annotation shall be added that defines the field as parameter, adds it to the configuration interface and includes it in saved json.
https://github.com/google/gson/blob/master/UserGuide.md#user-defined-exclusion-strategies