29 #ifndef INCLUDE_OLA_WEB_JSONPARSER_H_
30 #define INCLUDE_OLA_WEB_JSONPARSER_H_
64 void String(
const std::string &value);
65 void Number(uint32_t value);
66 void Number(int32_t value);
67 void Number(uint64_t value);
68 void Number(int64_t value);
71 void Bool(
bool value);
79 void SetError(
const std::string &error);
114 std::auto_ptr<JsonValue> m_root;
116 std::stack<ContainerType> m_container_stack;
119 std::stack<JsonArray*> m_array_stack;
120 std::stack<JsonObject*> m_object_stack;
128 #endif // INCLUDE_OLA_WEB_JSONPARSER_H_