in reply to Re: YAML::Syck serializing Dump into single line
in thread YAML::Syck serializing Dump into single line
What cLive ;-) probably meant was for some option to make the YAML::Syck dumper spit inline sequences and maps, as in
instead of the usual multi-line representation (which uses a lot of indentation indeed).{ a : [ 1, 2, 3], b : { b_a: "a\n" } }
--- a: - 1 - 2 - 3 b: b_a: "a\n"
I am not sure of what exactly syck can do, but it is very possible that even if there's such option in the underlying library, it is not currently exposed by the binding code implemented by YAML::Syck. The module is very immature yet, but fast as hell (for things it can grok).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: YAML::Syck serializing Dump into single line
by Fletch (Bishop) on Jan 25, 2007 at 15:53 UTC | |
|
Re^3: YAML::Syck serializing Dump into single line
by cLive ;-) (Prior) on Jan 25, 2007 at 17:02 UTC |