こんにちは、静的変数のみを含むクラス定数があります.パブリッククラス定数
public class Constant
{
public static class A
{
public static class B
{
public static final int COLUMN = 0;
public static final String TYPE = ColumnType.INPUT;
}
}
}
このクラスを JSON に変換する方法はありますか?
私はgsonを使用していましたが、静的変数を無視しているようです。どうすればそれができますか?
ありがとう。