Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nshmura's full-sized avatar

Shinichi Nishimura nshmura

View GitHub Profile
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);
...
@nshmura
nshmura / gist:bdd2626aad0e0cbd6522
Last active August 1, 2016 13:19
dependencies check
./gradlew -q dependencies app:dependencies