Re: NimYAML 0.7.0 released

2016-12-03 Thread moigagoo
Thanks a ton!

Re: NimYAML 0.7.0 released

2016-11-28 Thread flyx
`loadToJson` ignores tags because the JSON structures do not know anything about tags. You have several options: **Using the serialization API with an implicit variant object** First, you need to define the type for the tag `!remote`. You need to tell NimYAML how to load that type. Then, you de

Re: NimYAML 0.7.0 released

2016-11-25 Thread moigagoo
Hi @flyx! I'm using NimYAML to parse a config file. I want to use custom tags but can't figure out form the docs how to do it. Here's a glimpse of what I want to be able to handle: chapters: - foo - bar - !remote http://example.com/somefile When I load this

Re: NimYAML 0.7.0 released

2016-11-08 Thread flyx
NimYAML 0.8.0 is now available. Its focus was on making it more capable of being used for configuration files: * You can now set default values of object fields with `setDefaultValue`. * You can now mark object fields as transient with `markAsTransient` so that they are not serialized or exp

NimYAML 0.7.0 released

2016-10-01 Thread flyx
Since we have Nim 0.15.0 now, NimYAML 0.7.0 follows. This list is relevant for upgrading from a previous version: * The API has been split over several modules. Importing the [base package](http://forum.nim-lang.org///flyx.github.io/NimYAML/yaml.html) imports all subpackages, so this change i