aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/json.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-11-12 03:16:39 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-11-12 03:16:39 +0100
commit9391049ffcc93682ee23125bb8d5b8f915fe128b (patch)
treeeadf53106a13cabc63421bd9026ed2557736956f /src/json.h
parentjson_rpc: add a routine to generate request IDs (diff)
downloadcimple-9391049ffcc93682ee23125bb8d5b8f915fe128b.tar.gz
cimple-9391049ffcc93682ee23125bb8d5b8f915fe128b.zip
client: print the server response
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json.h b/src/json.h
index 6ac30cb..d14fd97 100644
--- a/src/json.h
+++ b/src/json.h
@@ -20,6 +20,7 @@
} while (0)
const char *json_to_string(struct json_object *);
+const char *json_to_string_pretty(struct json_object *);
struct json_object *json_from_string(const char *);
int json_clone(const struct json_object *, const char *key, struct json_object **value);