diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2017-04-09 21:10:29 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dave@treblig.org> | 2018-02-25 02:08:49 +0000 |
commit | 8795475df2c9192541412474588187a4031efd53 (patch) | |
tree | 00afc68ad734dfa1fe1bd2e938248b694602faa9 /matrix-json.h | |
parent | 3b8e5996977b33a3523a6569648e74deb378f5bc (diff) | |
download | purple-matrix-8795475df2c9192541412474588187a4031efd53.tar.gz |
matrix-json: Add debug to dump json to stderr
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Diffstat (limited to 'matrix-json.h')
-rw-r--r-- | matrix-json.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/matrix-json.h b/matrix-json.h index 1209a21..43b94aa 100644 --- a/matrix-json.h +++ b/matrix-json.h @@ -65,4 +65,7 @@ const gchar *matrix_json_array_get_string_element(JsonArray *array, */ GString *matrix_canonical_json(JsonObject *object); +/* Just dump the Json with the string prefix for debugging */ +void matrix_debug_jsonobject(const char *reason, JsonObject *object); + #endif /* MATRIX_JSON_H_ */ |