Scala circe deriveUnwrapped value class doesn't work for missing member

前端 未结 0 1454
青春惊慌失措
青春惊慌失措 2021-01-26 17:49

I am trying to decode a String value class in which if the string is empty I need to get a None otherwise a Some. I have the following ammonite script example:



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