diff options
Diffstat (limited to 'matrix-json.h')
-rw-r--r-- | matrix-json.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/matrix-json.h b/matrix-json.h index b2c2820..1209a21 100644 --- a/matrix-json.h +++ b/matrix-json.h @@ -60,5 +60,9 @@ const gchar *matrix_json_array_get_string_element(JsonArray *array, guint index); +/* Produce a canonicalised string as defined in + * https://matrix.org/speculator/spec/drafts%2Fe2e/appendices.html#canonical-json + */ +GString *matrix_canonical_json(JsonObject *object); #endif /* MATRIX_JSON_H_ */ |