Any reason why JSON is not suitable?


On 3 September 2013 13:15, Marc Heiler <lists / ruby-forum.com> wrote:

> Hi,
>
> Are there alternatives to yaml files?
>
> I need mostly:
>
> key: value pairs
>
> although the ability to load arrays directly into a .rb file would be
> cool too.
>
> Reason: I can no longer use yaml files in ruby 2.0 if they are not in
> UTF. As I do not use UTF and never will, yet syck has been removed, I
> need another way to load my configuration settings (I use several
> hundred yaml files). Without that I would be forced to not use my
> configuration settings (which is currently in yaml) so upgrading my ruby
> version gives me only drawbacks and extra work and no benefit.
>
> --
> Posted via http://www.ruby-forum.com/.
>