mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 13:02:25 +02:00
Removed all friends of JsonValue
This commit is contained in:
@ -8,14 +8,14 @@
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "ArduinoJson/JsonValue.hpp"
|
||||
#include "ArduinoJson/Internals/JsonValueInternal.hpp"
|
||||
#include "ArduinoJson/Internals/JsonParser.hpp"
|
||||
#include "ArduinoJson/Internals/JsonNode.hpp"
|
||||
|
||||
using namespace ArduinoJson;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
JsonValue JsonBuffer::createValue() { return JsonValue(createNode()); }
|
||||
JsonValue JsonBuffer::createValue() { return JsonValueInternal(createNode()); }
|
||||
|
||||
JsonNode *JsonBuffer::createNode() {
|
||||
void *node = allocateNode();
|
||||
@ -36,7 +36,7 @@ JsonObject JsonBuffer::parseObject(char *json) {
|
||||
|
||||
JsonValue JsonBuffer::parseValue(char *json) {
|
||||
JsonParser parser(this, json);
|
||||
return JsonValue(parser.parseAnything());
|
||||
return JsonValueInternal(parser.parseAnything());
|
||||
}
|
||||
|
||||
JsonNode *JsonBuffer::createArrayNode() {
|
||||
|
Reference in New Issue
Block a user