@ Override public JsonFormat . Value findFormat ( Annotated ann ) { // If the entity contains JsonFormat annotation, give it higher priority. JsonFormat . Value precedenceFormat = super . findFormat ( ann ) ; if ( precedenceFormat != null ) { return precedenceFormat ; } return ARRAY_FORMAT ; }
Defines array format for serialized entities with ObjectMapper without actually including the schema