Skip to content

Commit f17a6a9

Browse files
marc1ukmarcus
andauthored
bugfix to json parser (#39)
Co-authored-by: marcus <root@dbServermoflaher@warwick.ac.uk>
1 parent bde69c1 commit f17a6a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Store/Json.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ bool json_encode(std::ostream& output, const char* datum) {
77
while (*datum) {
88
if (*datum == '"' || *datum == '\\') output << '\\';
99
output << *datum;
10+
++datum;
1011
};
1112
output << '"';
1213
return true;

0 commit comments

Comments
 (0)