diff --git a/src/utils/json.c b/src/utils/json.c index 185ec4201..df4b35834 100644 --- a/src/utils/json.c +++ b/src/utils/json.c @@ -525,6 +525,10 @@ static int decode_object(json_t *root, neu_json_elem_t *ele) ele->t = NEU_JSON_ARRAY_BOOL; break; } + if (json_is_object(value)) { + ele->t = NEU_JSON_OBJECT; + break; + } } } else if (json_is_object(ob)) { ele->t = NEU_JSON_OBJECT;