Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 26ffa58e5f
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (18 sloc) 0.537 kB
#include "impl.hpp"
#include <glib-object.h>
#include <json-glib/json-glib.h>
#include "GobjectImplStringTopNode.hpp"
#include "GobjectImplFsTopNode.hpp"
namespace jsonme {
namespace impl {
GobjectLibImpl::GobjectLibImpl() {
g_type_init ();
}
AbstractNode *GobjectLibImpl::parse(std::string const & jsonstring) const {
return new GobjectImplStringTopNode(jsonstring);
}
AbstractNode *GobjectLibImpl::parseFile(std::string const & path) const {
return new GobjectImplFsTopNode(path);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.