1
0
Fork 0
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:
Steffen Vogel 2020-07-27 16:46:55 +02:00
parent 7e8f86a808
commit ed53a89877
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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();