Sync
This commit is contained in:
@@ -562,8 +562,8 @@ void json_reader::skip_array()
|
||||
|
||||
void json_reader::skip_object()
|
||||
{
|
||||
int c;
|
||||
consume('{');
|
||||
int c;
|
||||
while (true)
|
||||
{
|
||||
c = peek();
|
||||
@@ -571,11 +571,11 @@ void json_reader::skip_object()
|
||||
if (c == '}')
|
||||
{
|
||||
c = get();
|
||||
break;
|
||||
return;
|
||||
}
|
||||
skip_string(); // name.
|
||||
consume(':');
|
||||
skip_object();
|
||||
skip_property();
|
||||
if (peek() == ',')
|
||||
{
|
||||
consume(',');
|
||||
|
||||
Reference in New Issue
Block a user