From: Arran Cudbard-Bell Date: Sat, 21 Feb 2026 01:27:17 +0000 (-0700) Subject: json: Emit an error on structural types X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe94985ccfe013daecb2b1849c43b26ef5e2217c;p=thirdparty%2Ffreeradius-server.git json: Emit an error on structural types --- diff --git a/src/lib/json/json.c b/src/lib/json/json.c index c14ca86f797..7d13f47ea3d 100644 --- a/src/lib/json/json.c +++ b/src/lib/json/json.c @@ -273,6 +273,7 @@ json_object *json_object_from_value_box(fr_value_box_t const *data) #endif case FR_TYPE_STRUCTURAL: + fr_strerror_const("Can't convert structural type to JSON"); return NULL; } }