135
135
test_4_cpp.SetReference(NULL);
137
137
delete test_4_not_proc.CppToJson(test_4_cpp, ""); // shouldnt throw
139
139
Json::Value test_4_json(Json::objectValue);
141
141
delete test_4_not_proc.JsonToCpp(test_4_json); // shouldnt throw
143
143
test_4_json["reference"] = Json::Value();
145
145
delete test_4_not_proc.JsonToCpp(test_4_json); // shouldnt throw
147
147
test_4_json["reference"]["$ref"] = Json::Value();
149
149
delete test_4_not_proc.JsonToCpp(test_4_json); // shouldnt throw