Hmm, yes and no. Obviously if you can produce a Java Bean that represents your style structure, then you can just ask Gson to read and write and that bean into and out of JSON and that will give you a default format. However you can plug in translators for different types, so if you'ld prefer...