projects
/
platform
/
core
/
context
/
job-scheduler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df5cb44
)
Omit the last \n from the serialized json strings
41/136741/1
author
Mu-Woong Lee
<muwoong.lee@samsung.com>
Mon, 3 Jul 2017 05:33:55 +0000
(14:33 +0900)
committer
Mu-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
patch
|
blob
|
history
diff --git
a/src/shared/JobInfo.cpp
b/src/shared/JobInfo.cpp
index 1b35f7c1b0405c0b29a0db22229a6cbe1d59c98f..7f335499824e52ce70ef9fe0ea0c703477ef5ebf 100644
(file)
--- a/
src/shared/JobInfo.cpp
+++ b/
src/shared/JobInfo.cpp
@@
-135,6
+135,8
@@
std::string JobInfo::serialize()
toJson(jsonRoot);
Json::FastWriter fastWriter;
+ fastWriter.omitEndingLineFeed();
+
return fastWriter.write(jsonRoot);
}