10Duke Scale C++ Client
Loading...
Searching...
No Matches
CJsonParser.h
1#ifndef TENDUKE_JSON_CJSONPARSER_H
2#define TENDUKE_JSON_CJSONPARSER_H
3
4#include "json/JSONParser.h"
5
6namespace tenduke { namespace json { namespace cjson {
7
12{
13public:
18
19 std::unique_ptr<JSONElement> from(const std::string &string) const override;
20 std::unique_ptr<JSONElement> from(
21 const char * jsonAsString,
22 std::size_t length
23 ) const override;
24};
25
26}}}
27
28#endif // TENDUKE_JSON_CJSONPARSER_H
Parser for JSON documents.
Definition JSONParser.h:15
cJSON-implementation of tenduke::json::JSONParser.
Definition CJsonParser.h:12
cJSONParser()
Constructs new instance.
std::unique_ptr< JSONElement > from(const std::string &string) const override
Parses JSON from given string.
Definition CJsonParser.cpp:118
Implementation of JSON service interfaces using cJSON.
Definition CJsonArray.h:10
JSON support.
Definition JSONArray.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7