File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ def parse_string
307307 if missing_quotes
308308 break if current_context == :object_key && ( char == ':' || char . match? ( /\s / ) )
309309 break if current_context == :array && [ ']' , ',' ] . include? ( char )
310- break if current_context == :object_value && [ ',' , '}' ] . include? ( char )
311310 end
312311
313312 if current_context == :object_value && [ ',' , '}' ] . include? ( char ) && ( string_acc . empty? || string_acc [ -1 ] != rstring_delimiter )
@@ -365,7 +364,7 @@ def parse_string
365364 # Ok it's not right after the comma
366365 # Let's ignore
367366 rstring_delimiter_missing = false
368- elsif peek_char ( k )
367+ elsif peek_char ( j )
369368 # Check for an unmatched opening brace in string_acc
370369 string_acc . reverse . chars . each do |c |
371370 if c == '{'
You can’t perform that action at this time.
0 commit comments