steem-java-api-wrapper icon indicating copy to clipboard operation
steem-java-api-wrapper copied to clipboard

Use Java 8 Optional<> for optional fields

Open marvin-we opened this issue 8 years ago • 2 comments
trafficstars

According to http://www.baeldung.com/jackson-optional it should be possible to use the Java8 Optional type with Jackson, but it was not working in a first test.

marvin-we avatar Sep 09 '17 23:09 marvin-we

Seems to be fully implemented with Jackson 2.9.2

marvin-we avatar Sep 30 '17 11:09 marvin-we

A review of the validation fields is also required afterwards. Beside that it is required to know which fields are optional and which fields need to be present

marvin-we avatar Sep 30 '17 11:09 marvin-we