Hi geeks,
I have a Yaml like below as below:
---
# mY yaml variable
var1: ok
I dont want to ignore comments while serialization and i wanted to take
them into account ? How can i do that ?
My code is like below (which ignores call comments)
ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
Object user = mapper.readValue(yamlfile,new TypeReference<Map<String,
String>>() {});
I want to use this feature to read some meta data written on top of Yaml
variables in the form of comments ? Does jackson allows this ?
Regards
Rahul
--
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/e6e536de-cdb5-4488-a98e-cf3f84d2f2d7o%40googlegroups.com.