lib/json/pure/parser.rb in json_pure-2.3.0 vs lib/json/pure/parser.rb in json_pure-2.3.1
- old
+ new
@@ -47,11 +47,11 @@
\*/ # the End of this comment
|[ \t\r\n]+ # whitespaces: space, horicontal tab, lf, cr
)+
)mx
- UNPARSED = Object.new.freeze
+ UNPARSED = Object.new.freeze
# Creates a new JSON::Pure::Parser instance for the string _source_.
#
# It will be configured by the _opts_ hash. _opts_ can have the following
# keys:
@@ -64,10 +64,10 @@
# * *symbolize_names*: If set to true, returns symbols for the names
# (keys) in a JSON object. Otherwise strings are returned, which is
# also the default. It's not possible to use this option in
# conjunction with the *create_additions* option.
# * *create_additions*: If set to true, the Parser creates
- # additions when if a matching class and create_id was found. This
+ # additions when a matching class and create_id are found. This
# option defaults to false.
# * *object_class*: Defaults to Hash
# * *array_class*: Defaults to Array
# * *decimal_class*: Specifies which class to use instead of the default
# (Float) when parsing decimal numbers. This class must accept a single