@Bean
    @Primary
    public ObjectMapper objectMapper() {
        ObjectMapper objectMapper = new ObjectMapper()
                .registerModule(new ParameterNamesModule())
                .registerModule(new Jdk8Module())
                .registerModule(new JavaTimeModule());
        objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
        objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);

        // register all JSON subtype
        JsonUtils.initJsonTypeDefine(objectMapper);
        return objectMapper;
    }
Create a global ObjectMapper, and register JSON subtype
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/config/InlongGlobalConfig.java