fix: avoid to read null values from json for ridbags
@@ -930,12 +930,13 @@ public class ORecordSerializerJSON extends ORecordSerializerStringAbstract {
// TODO: redundant in some cases, owner is already added by getValueV0 in some cases
if (shouldBeDeserializedAsEmbedded(collectionItem, iType))
ODocumentInternal.addOwner((ODocument) collectionItem, iRecord);
-
+ if (collectionItem != null) {
visitor.visitItem(collectionItem);
}
}
}
}
+ }
private void parseCollectionV0(
ODocument iRecord,
