aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-json.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2017-04-09 21:10:29 +0100
committerDr. David Alan Gilbert <dave@treblig.org>2018-02-25 02:08:49 +0000
commit8795475df2c9192541412474588187a4031efd53 (patch)
tree00afc68ad734dfa1fe1bd2e938248b694602faa9 /matrix-json.h
parent3b8e5996977b33a3523a6569648e74deb378f5bc (diff)
downloadpurple-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.h3
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_ */