The same tag for different kinds
Andrey Somov <[email protected]> Thu, 10 Mar 2016 16:35:17 +0100
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CALbkv0cTLnY47biu+joE66MXT6ky=9+oFa4DSNty5KWM+YYxdQ@mail.gmail.com> |
Hi all,
does the specification put any restriction on how the same tag can be used
for
different node kinds (scalar, sequence, mapping) ?
For instance, must the parser provide a possibility to define 3 different
ways to construct a node for the document below ?
Is this a valid document ?
%YAML 1.1
---
scalar: !foo bar
seq: !foo [bar]
map: !foo {bar: null}
Cheers,
Andrey
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core