public class HighwayJsonUtils
extends Object
Add a separate converter for highway. Now highway compile types depends on swagger information, do not use any consumer information,
This will cause any invocation will convert swagger raw types to consumer types. This will lose performance.
In later improvements, need add consumer information to OperationProtobuf.
Why not using RestObjectMapper? Because the reason above, highway use java.util.Date for date-time, and will serialize to a String
that can not convert to LocalDateTime. (This is a jackson change to format java.util.Date to `2017-07-21T16:32:28.320+0000`
but jackson can only convert `2017-07-21T16:32:28.320Z` to LocalDateTime