mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
buffer: keep original behaviour
This commit is contained in:
parent
7e8f86a808
commit
ed53a89877
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue