Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 515 Bytes
#ifndef GEARBOX_JSON_PRIVATE_H
#define GEARBOX_JSON_PRIVATE_H
#include <gearbox/core/Json.h>
#include <gearbox/core/JsonSchema.h>
#include <string>
namespace Gearbox {
struct Json::Private {
Json * parent;
Type type;
JsonSchema * schema;
mutable std::string error;
ErrorHandler errHandler;
Private(Type t = Json::UNDEF)
: parent(NULL),
type(t),
schema(NULL),
errHandler(Json::onErrorThrow) {}
};
}
#endif