Jijokoickal / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

serialize and deserialize simple enum #516

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can i serialize and deserialize a simple enum like this ?

public enum Color {

    RED, BLUE, YELLOW;
}

Thanks !

Original issue reported on code.google.com by trabajoe...@gmail.com on 24 May 2013 at 4:51

GoogleCodeExporter commented 9 years ago
Dupe of issue 515.

Original comment by j...@squareup.com on 9 Aug 2014 at 5:48