You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(typeofdata[subKey]==='object'&&data[subKey]!==null&&typeofdata[subKey].length==='undefined'){// If we have another nested document
15
+
if(typeofdata[subKey]==='object'&&data[subKey]!==null&&typeofdata[subKey].length==='undefined'&&_.keys(data[subKey]).length>0){// If we have another nested document
16
16
subKeys[indx]=retrieveSubHeading(newKey,data[subKey]);// Recur on the subdocument to retrieve the full key name
17
17
}else{
18
18
subKeys[indx]=(options.DELIMITER.WRAP||'')+(newKey||'')+(options.DELIMITER.WRAP||'');// Set the key name since we don't have a sub document
0 commit comments