On Friday, March 16, 2018 at 10:12:33 AM UTC, Oleg Nenashev wrote:
>
>
> We just need to get input from YAML file and do things according to that.
>>
>> There is a java lib available to parse YAML file: 
>> https://github.com/FasterXML/jackson-dataformats-text/tree/master/yaml
>>
>
> According to my experience, I would rather recommend Snake YAML. Actually 
> we use FasterXML as well in many plugins... Generally we tend to package 
> such libs as API plugins, like this one: 
> https://github.com/jenkinsci/jackson2-api-plugin/blob/master/pom.xml . 
> Any library can be used.
>
>
I have been using snakeyaml in a few plugins - and It would probably 
benefit from being in a library plugin rather than pulled in - (but at the 
same time plugin dependency hell and well....)

As for Jackson and YAML - I raised 2 JIRAs yesterday for that plugin 
JENKINS-50202 <https://issues.jenkins-ci.org/browse/JENKINS-50202> is the 
one for the YAML parser in dataformats and the related JENKINS-50201 
<https://issues.jenkins-ci.org/browse/JENKINS-50201> for using jax-b 
annotations with jackson.

/James

>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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/jenkinsci-dev/2601dc97-62c6-4801-8478-093b9da172b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to