Hi I have a class Constants that contain only static variables.public class Constants
public class Constant
{
public static class A
{
public static class B
{
public static final int COLUMN = 0;
public static final String TYPE = ColumnType.INPUT;
}
}
}
Is there a way to convert this class to JSON ?
I was using gson, but apparently it ignores static variables. So how can I do it ?
Thanks.