JSON_ADD_MEMBER(parameters, "trxid", d_trxid, query.GetAllocator());
nts.SetArray();
for(auto t: nonterm) {
- rapidjson::Value value(t.first.toStringNoDot().c_str(), query.GetAllocator());
+ rapidjson::Value value(t.first.toString().c_str(), query.GetAllocator());
nts.PushBack(value, query.GetAllocator());
}
parameters.AddMember("nonterm", nts, query.GetAllocator());
nts.SetArray();
for(auto t: nonterm) {
- rapidjson::Value value(t.first.toStringNoDot().c_str(), query.GetAllocator());
+ rapidjson::Value value(t.first.toString().c_str(), query.GetAllocator());
nts.PushBack(value, query.GetAllocator());
}
parameters.AddMember("nonterm", nts, query.GetAllocator());
#endif
#define JSON_GET(obj,val,def) (obj.HasMember(val)?obj["" val ""]:def)
#define JSON_ADD_MEMBER(obj, name, val, alloc) { rapidjson::Value __xval; __xval = val; obj.AddMember(name, __xval, alloc); }
-#define JSON_ADD_MEMBER_DNSNAME(obj, name, val, alloc) { rapidjson::Value __xval(val.toStringNoDot().c_str(), alloc); obj.AddMember(name, __xval, alloc); }
+#define JSON_ADD_MEMBER_DNSNAME(obj, name, val, alloc) { rapidjson::Value __xval(val.toString().c_str(), alloc); obj.AddMember(name, __xval, alloc); }
class Connector {
public: