allow empty array input links

This commit is contained in:
2022-07-26 16:50:32 +02:00
committed by Michael Davidsaver
parent d47fa4caa4
commit ec650e8c3f

View File

@@ -162,6 +162,11 @@ long dbPutConvertJSON(const char *json, short dbrType,
if(INVALID_DB_REQ(dbrType))
return S_db_badDbrtype;
if (!jlen) {
*pnRequest = 0;
return 0;
}
parser->depth = 0;
parser->dbrType = dbrType;
parser->dbrSize = dbValueSize(dbrType);