mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
few JSON fixes and tests
This commit is contained in:
@@ -594,7 +594,10 @@ bool Parser::readRow(bool firstCall)
|
||||
{
|
||||
if (token->asChar() == ',')
|
||||
{
|
||||
_handler->comma();
|
||||
if (_handler != NULL)
|
||||
{
|
||||
_handler->comma();
|
||||
}
|
||||
return true; // Read next row
|
||||
}
|
||||
else if (token->asChar() == '}')
|
||||
@@ -781,7 +784,10 @@ bool Parser::readElements(bool firstCall)
|
||||
|
||||
if (token->asChar() == ',')
|
||||
{
|
||||
_handler->comma();
|
||||
if (_handler != NULL)
|
||||
{
|
||||
_handler->comma();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user