For Ruby developers, YAML is a natural fit for object serialization and general data storage, as their semantics are similiar. YAML4R is a fully-featured YAML parser and emitter for Ruby. Use it as a drop-in replacement for PStore, or use one of its several APIs to store object data in the friendly and readable YAML style.
|Tags||Software Development Libraries Ruby Modules Text Processing|
Release Notes: The tokenizer has been rewritten, line numbers now reported on errors, the map-seq shortcut is implemented (along with new collection types !omap, !pairs, and !set), and directives are now in %KEY:VALUE format.
Release Notes: In this release, Racc is no longer required for installation, there is a new RPC protocol for YAML (!okay/rpc) included, and there is a new syndication format (!okay/news).
Release Notes: The Emitter class now handles references to objects (including circular) and also binary data. There are new methods to assist in writing to_yaml methods. There are fixes to headless documents, private types, and empty classes extended from arrays and hashes.
Release Notes: Unicode support, a thread-safe Emitter class, improved text block emission, and a new cookbook generated from the YAML Testing Suite.
Release Notes: This release is nearing perfection with compliance for parsing whitespace, indentation, and newlines in various block styles. It adds improved emitting of Hash, Array, Time, and String types, more tests, and closer compliance.