Type as Value

James Stroud <jstroud-7cjBWUY9Vc/2fBVCVOL8/[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hello All,

Thank you for the quick response to my previous question.

I have another that I can't find the answer to. I want to make a yaml  
mapping value that evaluates to a type. For example, in python, the  
result would be

    {'atype' : int}

Tags do not seem to be able to represent values on their own but only  
indicate how a the yaml value will be evaluated. In essence, what is  
the equivalent to a type tag for yaml?

    atype : !!type int


James

--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
611 Charles E. Young Dr. S.
Los Angeles, CA  90095

http://www.jamesstroud.com

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
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.