Back to project page octodroid.
The source code is released under:
MIT License
If you think the Android project octodroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rejasupotaro.octodroid; //from w ww . j a v a 2 s. co m import com.google.gson.Gson; import com.google.gson.GsonBuilder; public class GsonProvider { private static Gson gson = new GsonBuilder().setPrettyPrinting().create(); public static void set(Gson gson) { GsonProvider.gson = gson; } public static Gson get() { return gson; } }