mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
23 lines
458 B
C++
23 lines
458 B
C++
// Copyright Benoit Blanchon 2014
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
#pragma once
|
|
|
|
#include "../JsonPair.hpp"
|
|
|
|
namespace ArduinoJson {
|
|
class JsonPairInternal : public JsonPair {
|
|
public:
|
|
explicit JsonPairInternal(Internals::JsonNode* node) : JsonPair(node) {}
|
|
|
|
void moveToNext() { _node = _node->next; }
|
|
|
|
bool isSameAs(const JsonPairInternal& other) const {
|
|
return _node == other._node;
|
|
}
|
|
};
|
|
}
|