You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
390 B
26 lines
390 B
4 years ago
|
#ifndef WFP_TEST_UTIL_JSON_DOC_HPP
|
||
|
#define WFP_TEST_UTIL_JSON_DOC_HPP
|
||
|
|
||
|
#include "webfuse_provider/impl/json/parser.h"
|
||
|
#include "webfuse_provider/impl/json/node.h"
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace webfuse_test
|
||
|
{
|
||
|
|
||
|
class JsonDoc
|
||
|
{
|
||
|
public:
|
||
|
JsonDoc(std::string const & json);
|
||
|
~JsonDoc();
|
||
|
wfp_json const * root();
|
||
|
private:
|
||
|
std::string contents;
|
||
|
wfp_json_doc * doc;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|