Skip to content

Commit

Permalink
Merge pull request ohler55#14 from mat/master
Browse files Browse the repository at this point in the history
Fix documentation, it's :mode, not :effort.
  • Loading branch information
ohler55 committed Apr 24, 2012
2 parents 0d4d81c + 8c59e62 commit ba75f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/oj.rb
Expand Up @@ -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
Expand Down

0 comments on commit ba75f63

Please sign in to comment.