2014-06-27 13:00:27 +02:00
|
|
|
/*
|
|
|
|
* Arduino JSON library
|
|
|
|
* Benoit Blanchon 2014 - MIT License
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-07-08 13:27:29 +02:00
|
|
|
#include "JsonHashTableBase.h"
|
2014-06-27 13:00:27 +02:00
|
|
|
|
2014-07-03 13:54:27 +02:00
|
|
|
namespace ArduinoJson
|
2014-06-27 13:00:27 +02:00
|
|
|
{
|
2014-07-03 13:54:27 +02:00
|
|
|
namespace Generator
|
2014-06-27 13:07:38 +02:00
|
|
|
{
|
2014-07-03 13:54:27 +02:00
|
|
|
template<int N>
|
2014-07-08 13:27:29 +02:00
|
|
|
class JsonHashTable : public JsonHashTableBase
|
2014-07-03 13:54:27 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
JsonHashTable()
|
2014-07-08 13:27:29 +02:00
|
|
|
: JsonHashTableBase(items, N)
|
2014-07-03 13:54:27 +02:00
|
|
|
{
|
2014-07-08 13:27:29 +02:00
|
|
|
}
|
2014-06-27 13:00:27 +02:00
|
|
|
|
2014-07-03 13:54:27 +02:00
|
|
|
private:
|
2014-07-08 13:27:29 +02:00
|
|
|
KeyValuePair items[N];
|
2014-07-03 13:54:27 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|