From a8dfd147a0373fb0430ec3bf3499a952ee6f593a Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 17 Nov 2021 11:39:00 +0100 Subject: lib: add vty_json() helper ... this is copypasted all over the codebase & should've been a helper to begin with really. Signed-off-by: David Lamparter --- lib/json.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/json.h') diff --git a/lib/json.h b/lib/json.h index fe208f4fa9..cad2d65f5d 100644 --- a/lib/json.h +++ b/lib/json.h @@ -59,6 +59,7 @@ extern struct json_object *json_object_lock(struct json_object *obj); extern void json_object_free(struct json_object *obj); extern void json_array_string_add(json_object *json, const char *str); + #define JSON_STR "JavaScript Object Notation\n" /* NOTE: json-c lib has following commit 316da85 which -- cgit v1.2.3