diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb index 9056a5d7..fc93e3f3 100644 --- a/lib/json/pure/generator.rb +++ b/lib/json/pure/generator.rb @@ -468,7 +468,7 @@ def to_json(state = nil, *args) end end - # Module that holds the extinding methods if, the String module is + # Module that holds the extending methods if, the String module is # included. module Extend # Raw Strings are JSON Objects (the raw bytes are stored in an diff --git a/lib/json/pure/parser.rb b/lib/json/pure/parser.rb index a41d1eeb..937f56f0 100644 --- a/lib/json/pure/parser.rb +++ b/lib/json/pure/parser.rb @@ -64,7 +64,7 @@ class Parser < StringScanner # (keys) in a JSON object. Otherwise strings are returned, which is also # the default. # * *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