stephank/yaml.node — Issue #2: Function names should match JSON's.
Author: stephank
Created: 2011-11-25 13:10:34+00:00
State: open

Right now, exported functions (`parse`, `load`, `dump`) are named after libYAML functions. Personally, I'd prefer them to match JSON functions, but there's an obvious conflict with `parse`. The YAML and JSON equivalents are:

YAML.parse - n/a
YAML.load - JSON.parse
YAML.dump - JSON.stringify

There's a couple of solutions:

* Don't export the current `YAML.parse`, then rename functions to match JSON.
* Rename the current `YAML.parse` to something else (but what?) and possibly export `binding.Emitter` as well.