update CSpot

This commit is contained in:
philippe44
2022-03-04 20:06:19 -08:00
parent 7b1d1ad45e
commit 57b77766ff
28 changed files with 226 additions and 110 deletions

View File

@@ -2,6 +2,8 @@
#define JSONOBJECT_H
#include <cJSON.h>
#include <string>
#include <cstring>
#include <vector>
namespace bell {
class JSONValue
@@ -24,6 +26,7 @@ namespace bell {
~JSONObject();
JSONValue operator[](std::string index);
std::string toString();
std::vector<uint8_t> toVector();
private:
cJSON* body;