Re: yaml-cpp and YAML 1.2

Andrey Somov <[email protected]> Thu, 3 Mar 2016 16:48:17 +0100
Newsgroups gmane.text.yaml.general
Message-ID <CALbkv0dNpj_DxRYOfKGpAC00O1obg-EeaqNjYsxfaOOGoB=PUg@mail.gmail.com>
Dear Jesse,
I looked in the source but I could not find the tests which take all the
examples form the specifications (as libyaml, PyYAML and SnakeYAML do).
Do you try to parse all the examples from the specification ?

Cheers,
Andrey




On Wed, Mar 2, 2016 at 6:26 PM, Andrey Somov <[email protected]> wrote:

>
>
> >Happy to answer any questions.
>
> >Because C++ is statically typed and has no initial class, I always viewed
> schema >as an application task. yaml-cpp lets you deserialize to any
> application-specific >type, but you have to ask statically, so automatic
> resolution seems less useful.
>
> Dear Jesse,
> I did not quite catch you. Java is also statically typed, but it is
> unrelated to Recommended Schemas.
> The YAML 1.2 spec requires that the user may select (as an option) to
> parse the very same document with different schemas. JS-yaml does have
> support for that (partially).
>
> If I want to apply JSON schema and use yaml-cpp what should I do ?
>
>
> (other questions follow :-)
> Cheers,
> Andrey
>
>
>
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core