Permalink
Browse files

:effort parameter really is :mode.

  • Loading branch information...
1 parent e22d9c2 commit 1a4aeada9bfed4c2ff756faf7229a8980aa3dfe2 @mat mat committed Apr 24, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 lib/oj.rb
View
@@ -40,7 +40,7 @@ other the common Ruby JSON parsers. So far is has achieved that at about 2
time faster than Yajl for parsing and 3 or more times faster writing JSON.
Oj has several dump or serialization modes which control how Objects are
-converted to JSON. These modes are set with the :effort option in either the
+converted to JSON. These modes are set with the :mode option in either the
default options or as one of the options to the dump() method.
- :strict mode will only allow the 7 basic JSON types to be serialized. Any other Object
View
@@ -2,7 +2,7 @@
# optimized JSON handling.
#
# Oj has several dump or serialization modes which control how Objects are
-# converted to JSON. These modes are set with the :effort option in either the
+# converted to JSON. These modes are set with the :mode option in either the
# default options or as one of the options to the dump() method.
#
# - :strict mode will only allow the 7 basic JSON types to be serialized. Any other Object

0 comments on commit 1a4aead

Please sign in to comment.