mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
20 lines
345 B
C++
20 lines
345 B
C++
// ArduinoJson - arduinojson.org
|
|
// Copyright Benoit Blanchon 2014-2020
|
|
// MIT License
|
|
|
|
#pragma once
|
|
|
|
#include <stddef.h> // for size_t
|
|
|
|
#include <ArduinoJson/Namespace.hpp>
|
|
|
|
#define JSON_STRING_SIZE(SIZE) (SIZE + 1)
|
|
|
|
namespace ARDUINOJSON_NAMESPACE {
|
|
|
|
struct StringSlot {
|
|
char *value;
|
|
size_t size;
|
|
};
|
|
} // namespace ARDUINOJSON_NAMESPACE
|