LWN.net Logo

NOT YAML

NOT YAML

Posted Apr 15, 2012 2:54 UTC (Sun) by dskoll (subscriber, #1630)
In reply to: They should be paying attention to the lumberjack project by jzbiciak
Parent article: Toward more reliable logging

No, not YAML! YAML used to be a nice simple language, but the spec has become bloated and byzantine. It includes features that are completely inappropriate for structured logging like the ability to represent self-referential data structures.

I recently went through a large amount of pain converting our (commercial) product to use JSON for serialization rather than YAML just because YAML was becoming such a PITA.

Compare the one-page JSON spec with the monstrous YAML 1.2 spec.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds