Re: what will be the nature of yaml 2.0 eyaml

Oren Ben-Kiki <[email protected]> Sun, 6 Mar 2016 21:33:21 +0200
Newsgroups gmane.text.yaml.general
Message-ID <CADJiDhsSdvfyyZ5f-xomvszZRXEkB+fLgGUO6vOiTZ4dGZ5n5w@mail.gmail.com>
There are two possible intermediate points between YAML and JSON.

One is to keep the JSON data model and the YAML syntax (that is, no tags,
no directives, but allow block styles).

Another is to keep the YAML data model (specifically, tags) and JSON syntax
(with minimal extensions - that is, tags again).

You want the first. The thing is, you can have it today. It is trivial to
load a JSON file into YAML (JSON is valid YAML after all) and dump it again
with improved formatting (using block styles). Likewise, it is trivial to
load a YAML file that has no tags or directives and dump it as JSON.

I'm not certain why you'd need YAML 2.0 (or 1.3) for this...


On Sun, Mar 6, 2016 at 9:12 PM, Britton Kerin <[email protected]>
wrote:

> I hope for a fixed JSON really.  The noise syntax gone as much as
> possible in favor of indentation.  Spreading strings across lines and
> having the newlines magically go away might be nice if it could be
> done dead simple.  I have no interest or trust in anything more
> complex.
>
> I think something like this could be pretty successful especially if
> it started out with javascript and shell to_JSON from_JSON
> methods/programs.
>
> I can't quite tell if this is part of the plan or not?
>
> Britton
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Yaml-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/yaml-core
>

------------------------------------------------------------------------------

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