groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Martin <>
Subject Re: Groovy YAML support
Date Thu, 21 Apr 2016 10:02:18 GMT
I can see JSON and XML tools being part of Groovy core since it's used 
for a plethora of things in many different parts of the ecosystem. 
Having worked with Spring Boot for a while, I too found myself having to 
search for tools for YAML processing. Like several people have already 
suggested, SnakeYaml works fine, so I simply pulled in that jar and used 
it. I can see the potential need for more refined stuff on top of that. 
I agree that it probably shouldn't be part of the Groovy core API. But 
maybe that type of utilities/extras could go into a "groovy-extras" type 
jar file? That way it won't bloat the Groovy core, but it would still be 
readily available for folks who need it. I'm obviously NOT suggesting 
repackaging SnakeYaml and putting it into a Groovy distro jar, but if 
someone contributes some useful Groovy code on top of other libraries 
that it could go into a separate jar that would be easy to pull in.

Just my SEK 0.02 :-)


On 4/21/16 9:18 AM, Bob Brown wrote:
> And why not?
> IFF people contribute their work and that work is of high enough standard?
> Therein lies the  rub, of courseā€¦
> My AUD$0.02
>> On 21 Apr 2016, at 5:15 PM, Russel Winder <> wrote:
>> On Tue, 2016-04-19 at 14:03 +0200, Paolo Di Tommaso wrote:
>>> Thanks for your suggestions.
>>> @Guillaume Since Groovy has a very good support for Json and Xml, it
>>> would
>>> make sense to include a built-in support for Yaml as well.
>> JSON and XML being part of the standard Groovy distribution I can
>> understand, but why YAML? If YAML, then why not INI, TOML, SDL, etc.?
>> -- 
>> Russel.
>> =============================================================================
>> Dr Russel Winder      t: +44 20 7585 2200   voip:
>> 41 Buckmaster Road    m: +44 7770 465 077   xmpp:
>> London SW11 1EN, UK   w:  skype: russel_winder

View raw message