Serialize JSON into Class Static Fields with Gson in Java
I have a java class with private static fields.
I want to populate these fields from the json in a config.json file.
The Gson package seems to be popular but I’m having some issues.
I have a java class with private static fields.
I want to populate these fields from the json in a config.json file.
The Gson package seems to be popular but I’m having some issues.