forked from bblanchon/ArduinoJson
Cleaning up...
This commit is contained in:
@ -8,20 +8,11 @@
|
|||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
class JsonArray;
|
class JsonArray;
|
||||||
class JsonArrayConstIterator;
|
|
||||||
class JsonArrayIterator;
|
|
||||||
class JsonBuffer;
|
class JsonBuffer;
|
||||||
class JsonObject;
|
class JsonObject;
|
||||||
class JsonObjectConstIterator;
|
|
||||||
class JsonObjectIterator;
|
|
||||||
struct JsonPair;
|
|
||||||
class JsonValue;
|
|
||||||
|
|
||||||
namespace Internals {
|
namespace Internals {
|
||||||
class IndentedPrint;
|
class IndentedPrint;
|
||||||
class JsonArrayNode;
|
|
||||||
class JsonObjectNode;
|
|
||||||
class JsonParser;
|
|
||||||
class JsonWriter;
|
class JsonWriter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,13 +7,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../JsonValue.hpp"
|
#include "../JsonValue.hpp"
|
||||||
#include "../JsonBuffer.hpp"
|
|
||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
namespace Internals {
|
namespace Internals {
|
||||||
|
|
||||||
class JsonArrayNode {
|
struct JsonArrayNode {
|
||||||
public:
|
|
||||||
JsonArrayNode() : next(NULL) {}
|
JsonArrayNode() : next(NULL) {}
|
||||||
|
|
||||||
JsonArrayNode* next;
|
JsonArrayNode* next;
|
||||||
|
@ -7,13 +7,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../JsonPair.hpp"
|
#include "../JsonPair.hpp"
|
||||||
#include "../JsonBuffer.hpp"
|
|
||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
namespace Internals {
|
namespace Internals {
|
||||||
|
|
||||||
class JsonObjectNode {
|
struct JsonObjectNode {
|
||||||
public:
|
|
||||||
JsonObjectNode(const char* k) : pair(k), next(NULL) {}
|
JsonObjectNode(const char* k) : pair(k), next(NULL) {}
|
||||||
|
|
||||||
JsonPair pair;
|
JsonPair pair;
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../ForwardDeclarations.hpp"
|
|
||||||
#include "../JsonBuffer.hpp"
|
#include "../JsonBuffer.hpp"
|
||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ForwardDeclarations.hpp"
|
|
||||||
#include "Internals/JsonObjectNode.hpp"
|
#include "Internals/JsonObjectNode.hpp"
|
||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ForwardDeclarations.hpp"
|
|
||||||
#include "Internals/JsonObjectNode.hpp"
|
#include "Internals/JsonObjectNode.hpp"
|
||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ForwardDeclarations.hpp"
|
|
||||||
#include "JsonBuffer.hpp"
|
#include "JsonBuffer.hpp"
|
||||||
|
|
||||||
namespace ArduinoJson {
|
namespace ArduinoJson {
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include <ArduinoJson/JsonValue.hpp>
|
#include <ArduinoJson/JsonValue.hpp>
|
||||||
#include <ArduinoJson/JsonArray.hpp>
|
#include <ArduinoJson/JsonArray.hpp>
|
||||||
#include <ArduinoJson/JsonObject.hpp>
|
#include <ArduinoJson/JsonObject.hpp>
|
||||||
#include "Printers.hpp"
|
|
||||||
|
|
||||||
using namespace ArduinoJson;
|
using namespace ArduinoJson;
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include <ArduinoJson/JsonObject.hpp>
|
#include <ArduinoJson/JsonObject.hpp>
|
||||||
#include <ArduinoJson/JsonValue.hpp>
|
#include <ArduinoJson/JsonValue.hpp>
|
||||||
#include <ArduinoJson/StaticJsonBuffer.hpp>
|
#include <ArduinoJson/StaticJsonBuffer.hpp>
|
||||||
#include "Printers.hpp"
|
|
||||||
|
|
||||||
using namespace ArduinoJson;
|
using namespace ArduinoJson;
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include <ArduinoJson/JsonArray.hpp>
|
#include <ArduinoJson/JsonArray.hpp>
|
||||||
#include <ArduinoJson/JsonObject.hpp>
|
#include <ArduinoJson/JsonObject.hpp>
|
||||||
#include <ArduinoJson/JsonValue.hpp>
|
#include <ArduinoJson/JsonValue.hpp>
|
||||||
#include "Printers.hpp"
|
|
||||||
|
|
||||||
using namespace ArduinoJson;
|
using namespace ArduinoJson;
|
||||||
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
// Copyright Benoit Blanchon 2014
|
|
||||||
// MIT License
|
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://github.com/bblanchon/ArduinoJson
|
|
||||||
|
|
||||||
#include "Printers.hpp"
|
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream& os, const ArduinoJson::JsonValue&) {
|
|
||||||
os << "JsonValue"; // TODO
|
|
||||||
return os;
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
// Copyright Benoit Blanchon 2014
|
|
||||||
// MIT License
|
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://github.com/bblanchon/ArduinoJson
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <ArduinoJson/ForwardDeclarations.hpp>
|
|
||||||
#include <ostream>
|
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream& os, const ArduinoJson::JsonValue& v);
|
|
Reference in New Issue
Block a user