mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 04:52:22 +02:00
Replaced composition by inheritance
This commit is contained in:
@ -7,7 +7,6 @@
|
||||
#include "JsonToken.h"
|
||||
|
||||
using namespace ArduinoJson::Parser;
|
||||
using namespace ArduinoJson::Internal;
|
||||
|
||||
JsonValue JsonParserBase::parse(char* json)
|
||||
{
|
||||
@ -17,5 +16,5 @@ JsonValue JsonParserBase::parse(char* json)
|
||||
if (JSMN_SUCCESS != jsmn_parse(&parser, json, tokens, maxTokens))
|
||||
return JsonValue::null();
|
||||
|
||||
return JsonValue(json, JsonToken(tokens));
|
||||
return JsonToken(json, tokens);
|
||||
}
|
||||
|
Reference in New Issue
Block a user