Lines Matching full:solution
11 **Solution:** Make sure your code adheres to the following:
25 **Solution:** Write custom Gson [`TypeAdapter`](https://www.javadoc.io/doc/com.google.code.gson/gso…
42 **Solution:** Make sure the `module-info.java` file of your project allows Gson to use reflection o…
58 **Solution:** Make sure you have configured ProGuard / R8 correctly to preserve the names of your f…
66 **Solution:** Make sure you have configured ProGuard / R8 correctly to preserve the names of your f…
78 **Solution:** Make sure that the class:
91 **Solution:** Convert the class to a `static` nested class. If the class is already `static` make s…
104 **Solution:** Use [`GsonBuilder.enableComplexMapKeySerialization()`](https://www.javadoc.io/doc/com…
112 **Solution:** During debugging log the JSON data right before calling Gson methods or set a breakpo…
120 **Solution:** Use [`GsonBuilder.setObjectToNumberStrategy`](https://www.javadoc.io/doc/com.google.c…
128 **Solution:** See [`Gson` class documentation](https://www.javadoc.io/doc/com.google.code.gson/gson…
138 **Solution:** Make sure that your classes correctly model the JSON data. Also during debugging log …
146 **Solution:** Add code similar to the following at the beginning of the `read` method of your adapt…
168 **Solution:** Use [`GsonBuilder.serializeNulls()`](https://www.javadoc.io/doc/com.google.code.gson/…
178 **Solution:** Write custom Gson [`TypeAdapter`](https://www.javadoc.io/doc/com.google.code.gson/gso…
192 **Solution:** When calling `GsonBuilder.excludeFieldsWithModifiers` you overwrite the default exclu…