ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
Object user = mapper.readValue(yamlfile,new TypeReference<Map<String, String>>() {});
While serializing this Yaml file into a MAP, I dont want to ignore comments written on top of variables in Yaml file , how can i do that in jackson ?
In short , i wanted to read Yaml comments as well using jackson and dont want to ignore them !
Regards
Rahul kumar