Force a value:pair assignment to be string?

Kenneth Downs <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hello!

I am a recent convert to YAML, using spyc to load YAML files to PHP 
arrays.  Very very nice.

There are many places where we have assignment pairs that look like 
"primary_key: Y" or "uisearch: Y", and YAML is interpreting these to be 
booleans and making them into 1/0 assignments.

It seems that with TAGs I ought to be able to force those particular 
keys to read as strings.  But alas, the documentation, while very 
complete, is also very abstract and lacks (as far as I could find) an 
example of this basic task.  Can anybody clue me in?

Thanks.

-- 
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com    www.andromeda-project.org
631-379-7200   Fax: 631-689-0527


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.