summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark/parse_json_and_marshal.rb')
-rw-r--r--lib/ffi_yajl/benchmark/parse_json_and_marshal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb b/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb
index 163f559..204ab06 100644
--- a/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb
+++ b/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb
@@ -34,7 +34,7 @@ Benchmark.bmbm { |x|
puts "JSON.parse"
times.times {
json.rewind
- JSON.parse(json.read, :max_nesting => false)
+ JSON.parse(json.read, max_nesting: false)
}
}
end