projects
/
jansson.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0efe6
)
save flags default to 0
author
Sean Middleditch
<sean@middleditch.us>
Thu, 14 Jan 2010 02:34:17 +0000
(18:34 -0800)
committer
Sean Middleditch
<sean@middleditch.us>
Thu, 14 Jan 2010 02:34:17 +0000
(18:34 -0800)
janssonxx.h
patch
|
blob
|
history
diff --git
a/janssonxx.h
b/janssonxx.h
index
57e2aed
..
6703f95
100644
(file)
--- a/
janssonxx.h
+++ b/
janssonxx.h
@@
-57,12
+57,12
@@
public:
}
// write the value to a file
- int save_file(const char* path, int flags =
JSON_INDENT(2)
) const {
+ int save_file(const char* path, int flags =
0
) const {
return json_dump_file(_value, path, flags);
}
// write the value to a string (caller must deallocate with free()!)
- char* save_string(int flags =
JSON_INDENT(2)
) const {
+ char* save_string(int flags =
0
) const {
return json_dumps(_value, flags);
}