mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01: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