Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 332 Bytes
require "rubygems"
require 'bundler'
Bundler.require :default
require 'yajl/json_gem'
def dr
{
"time" => Time.now,
"string" => "X" * 1000,
"numbers" => 123123,
"float" => 123123.123123123,
"bool" => true,
}
end
File.open("test.json", "w") do |f|
f.write(Array.new(15) { dr }.to_json)
end