Remove linefeed from JSON to string conversion

This commit is contained in:
Vinnie Falco
2015-05-29 13:43:30 -07:00
parent ff2453e42c
commit 4b91a18532
3 changed files with 1 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ public:
{
testcase ("parse json array");
std::string const json (
"{\"Template\":[{\"ModifiedNode\":{\"Sequence\":1}}]}\n");
"{\"Template\":[{\"ModifiedNode\":{\"Sequence\":1}}]}");
Json::Value jsonObject;
bool parsedOK (parseJSONString(json, jsonObject));