8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962daee commit daf912eCopy full SHA for daf912e
src/ArduinoJson/MsgPack/MsgPackDeserializer.hpp
@@ -375,18 +375,18 @@ class MsgPackDeserializer {
375
return false;
376
}
377
378
+ bool allowArray = filter.allowArray();
379
+
380
CollectionData *array;
- if (filter.allowArray())
381
+ if (allowArray)
382
array = &variant.toArray();
- else
- array = 0;
383
384
TFilter memberFilter = filter[0U];
385
386
for (; n; --n) {
387
VariantData *value;
388
389
- if (array) { // ie if not filtered
+ if (allowArray) {
390
value = array->addElement(_pool);
391
if (!value) {
392
_error = DeserializationError::NoMemory;
0 commit comments