Commit bc532344 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

buffer: keep original behaviour

parent 5c381e7c
......@@ -48,7 +48,7 @@ public:
int parseJson(json_t **j);
int appendJson(json_t *j, int flags = JSON_INDENT(4));
int appendJson(json_t *j, int flags = 0);
};
} /* namespace villas */
......@@ -39,7 +39,7 @@ protected:
public:
/** Encode JSON document /p j and append it to the buffer */
int encode(json_t *j, int flags = JSON_INDENT(4));
int encode(json_t *j, int flags = 0);
/** Decode JSON document from the beginning of the buffer */
json_t * decode();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment