forked from bblanchon/ArduinoJson
Fixed namespaces
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#include "ArduinoJson/Internals/IndentedPrint.h"
|
||||
|
||||
using namespace ArduinoJson::Generator;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
void IndentedPrint::indent()
|
||||
{
|
||||
|
@ -5,6 +5,8 @@
|
||||
#include "ArduinoJson/JsonObject.h"
|
||||
#include "ArduinoJson/JsonBuffer.h"
|
||||
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
void JsonNode::writeTo(JsonWriter& writer)
|
||||
{
|
||||
switch (type)
|
||||
|
@ -2,6 +2,9 @@
|
||||
#include "ArduinoJson/JsonObject.h"
|
||||
#include "ArduinoJson/JsonValue.h"
|
||||
|
||||
using namespace ArduinoJson;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
JsonValue JsonArray::operator[](int index) const
|
||||
{
|
||||
for (JsonNodeIterator it = beginChildren(); it != endChildren(); ++it)
|
||||
|
@ -6,6 +6,9 @@
|
||||
#include "ArduinoJson/Internals/JsonParser.h"
|
||||
#include "ArduinoJson/Internals/JsonNode.h"
|
||||
|
||||
using namespace ArduinoJson;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
JsonValue JsonBuffer::createValue()
|
||||
{
|
||||
return JsonValue(createNode());
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include "ArduinoJson/Internals/CompactJsonWriter.h"
|
||||
#include "ArduinoJson/Internals/PrettyJsonWriter.h"
|
||||
|
||||
using namespace ArduinoJson;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
size_t JsonContainer::printTo(char* buffer, size_t bufferSize) const
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "ArduinoJson/Internals/JsonNode.h"
|
||||
#include "ArduinoJson/Internals/StringBuilder.h"
|
||||
|
||||
using namespace ArduinoJson;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
JsonValue JsonObject::operator[](char const* key)
|
||||
|
@ -4,6 +4,8 @@
|
||||
#include "ArduinoJson/JsonObject.h"
|
||||
#include "ArduinoJson/Internals/JsonNode.h"
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
void JsonValue::operator=(bool value)
|
||||
{
|
||||
if (_node)
|
||||
|
Reference in New Issue
Block a user