This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final GsonBuilder gsonBuilder = new GsonBuilder(); | |
gsonBuilder.registerTypeAdapter(PCategoryData.class, new PCategoryDataTypeAdapter()); | |
final Gson gson = gsonBuilder.create(); | |
String json = "{categories:[{value: \"\"}]}"; | |
PCityData pCityData = gson.fromJson(json, PCityData.class); | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./gradlew -q dependencies app:dependencies |