[winpr,json] fix jansson WINPR_JSON_IsObject

This commit is contained in:
Armin Novak
2025-09-30 10:15:16 +02:00
parent 720ae9e0ec
commit dc6ae54d7a

View File

@@ -211,7 +211,7 @@ BOOL WINPR_JSON_IsArray(const WINPR_JSON* item)
BOOL WINPR_JSON_IsObject(const WINPR_JSON* item)
{
return json_is_array(ccast(item));
return json_is_object(ccast(item));
}
WINPR_JSON* WINPR_JSON_CreateNull(void)