1. 杂七杂八

1.1. Gson格式化输出JSON字符串

Gson gson = new GsonBuilder().setPrettyPrinting().create();
String jsonOutput = gson.toJson(someObject);

1.1.1. Reference

results matching ""

    No results matching ""