Gson @AutoValue and Optional<> dont work together, is there a workaround?

前端 未结 0 709
臣服心动
臣服心动 2020-12-31 00:23

Gson doesnt have direct support for serializing @AutoValue classes or for Optional<> fields, but com.ryanharter.auto.value adds @AutoValue and net.dongliu:gson-java8-d

相关标签:
回答
  • 消灭零回复
提交回复
热议问题