mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 04:22:18 +02:00
Test what happens with just an opening bracket
This commit is contained in:
@ -67,12 +67,14 @@ JsonNode* JsonParser::parseNode()
|
||||
|
||||
JsonNode* JsonParser::parseArray()
|
||||
{
|
||||
skipOneChar();
|
||||
skipOneChar(); // skip the '['
|
||||
skipSpaces();
|
||||
|
||||
JsonNode* node = _buffer->createNode();
|
||||
node->setAsArray(_buffer);
|
||||
|
||||
skipSpaces();
|
||||
if (isEnd())
|
||||
return 0;
|
||||
|
||||
if (isArrayStop())
|
||||
return node;
|
||||
|
Reference in New Issue
Block a user