Omit the last \n from the serialized json strings 41/136741/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 3 Jul 2017 05:33:55 +0000 (14:33 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 3 Jul 2017 05:33:55 +0000 (14:33 +0900)
Change-Id: I2c9def181b3fb41cf3c616eedd76b42e410e4a30
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/shared/JobInfo.cpp

index 1b35f7c1b0405c0b29a0db22229a6cbe1d59c98f..7f335499824e52ce70ef9fe0ea0c703477ef5ebf 100644 (file)
@@ -135,6 +135,8 @@ std::string JobInfo::serialize()
        toJson(jsonRoot);
 
        Json::FastWriter fastWriter;
+       fastWriter.omitEndingLineFeed();
+
        return fastWriter.write(jsonRoot);
 }