UcasRichard / snakeyaml

Automatically exported from code.google.com/p/snakeyaml
Apache License 2.0
0 stars 0 forks source link

Simplify public API: drop Loader and Dumper #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All the functionality of Loader and Dumper can be moved to Yaml.
Then we can remove the check that they are not shared between different Yaml 
instances.

Loader and Dumper may stay deprecated a couple of versions to simplify 
transition.

Original issue reported on code.google.com by py4fun@gmail.com on 6 Aug 2010 at 9:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
All the functionality was moved to the Yaml class.

The API has become simpler: provide arguments (Constructor, DumperOptions etc) 
directly to the Yaml constructor.

(it will be delivered in release 1.7)

Original comment by py4fun@gmail.com on 9 Aug 2010 at 1:46

GoogleCodeExporter commented 9 years ago
Some redundant code will be removed in release 1.8:
http://code.google.com/p/snakeyaml/source/detail?r=77851e57a0c6407c7743b6d0340c9
7ebba8db80f

Original comment by py4fun@gmail.com on 9 Aug 2010 at 2:14