Hi Team,
I have a YAML file as below:
---
#my variable
var1 : ok

My Yaml code is like below:

 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


-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/89760f49-d96c-41ab-8936-6fa996a9a2fco%40googlegroups.com.

Reply via email to