can I load entire node trees with the C library libyaml ?
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
So far, the best introduction to libyaml I found is
the tutorial by Andrew Poelstra at
http://wpsoftware.net/andrew/pages/libyaml.html
It explains two ways of parsing a YAML file, by
token or by event. Both are pretty low level; if
I understand correctly, parsing by event is just
a little less low level than parsing by token.
In contrast, scripting languages offer a much
simpler way of loading YAML files, basically:
y = YAML.load( URL.open("http://yaml.org") )
print y["Projects"]["C/C++ Libraries"][0]
would yield "libyaml".
Is it possible under C to load in a similar way
an entire YAML file into a node tree?
There is a yaml_node_type_t, is there any example
how to use it?
Thanks in advance, Joachim
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d