Hi,
How do you interrogate a mapping?
I am looking at the API, while there is a AddMappingNode method, I can't find anything to get a node given a key? Can someone give me a hint?
Are you still wrestling with the problem? If so, we possibly can look at it.
Greets Christophe
I just stumbled on this library today looking for a YAML parser in .NET, and ran into the same problem.
It would appear childNodes has the data I want, but there's nothing that will let me query its content.
field1: value field2: 1234 ...
I need to be able to query 'field1' and 'field2', retrieving the value for that key (whether it be a list, string, datetime, integer, etc)..
Log in to post a comment.
Hi,
How do you interrogate a mapping?
I am looking at the API, while there is a AddMappingNode method, I can't find anything to get a node given a key? Can someone give me a hint?
Hi,
Are you still wrestling with the problem? If so, we possibly can look at it.
Greets Christophe
I just stumbled on this library today looking for a YAML parser in .NET, and ran into the same problem.
It would appear childNodes has the data I want, but there's nothing that will let me query its content.
My use case is simple. Given a document like the following:
field1: value
field2: 1234
...
I need to be able to query 'field1' and 'field2', retrieving the value for that key (whether it be a list, string, datetime, integer, etc)..