forked from hallettj/zaml
-
Notifications
You must be signed in to change notification settings - Fork 0
Fast yaml serialization in pure Ruby
License
sebneira/zaml
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ZAML is faster YAML serialization for Ruby The Ruby YAML library is a full stack standard compliant implementation of the YAML protocol, while ZAML is an attempt to produce (effectively) the same output as YAML would have - but much faster and with cleaner code. ZAML has been benchmarked at up to %1600 faster than YAML: http://gnomecoder.wordpress.com/2008/09/27/yaml-dump-1600-percent-faster/ http://groups.google.com/group/rubyonrails-core/browse_thread/thread/3e33e31f57e23911/d2eedb7531a12e47?lnk=gst&q=zaml#d2eedb7531a12e47 ## Installation Add gemcutter to your sources if you haven't done so already: sudo gem install gemcutter gem tumble Install the gem: sudo gem install zaml ## Usage require 'zaml' foo = { :some => { :complicated => [:data, :structure] } } File.open('output.yml', 'w') { |f| ZAML.dump(foo,f) } ## License Copyright (c) 2008-2009 ZAML contributers This program is dual-licensed under the GNU General Public License version 3 or later and under the Apache License, version 2.0. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version; or under the terms of the Apache License, Version 2.0. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License and the Apache License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. You may obtain a copy of the Apache License at <https://www.apache.org/licenses/LICENSE-2.0.html>.
About
Fast yaml serialization in pure Ruby
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published