Skip to content

Instantly share code, notes, and snippets.

View ajturner's full-sized avatar
🗺️
Considering WhereCamps

Andrew Turner ajturner

🗺️
Considering WhereCamps
View GitHub Profile
@ajturner
ajturner / binary.rb
Created February 17, 2013 20:52 — forked from kyledrake/gist:4956808
Added Avro and total file output
require 'json'
require 'bson'
require 'msgpack'
require 'benchmark'
require 'avro'
#require 'ruby_protobuf'
test_hash = {'string' => 'test string', 'float' => 5}
file = File.open("test.json", 'wb')