: getQName(actualClass, genericType, actualObject);
if (qname != null && ignoreNamespaces && (isCollection || dropRootInXmlNeeded)) {
qname = new QName(qname.getLocalPart());
}
Configuration config =
JSONUtils.createConfiguration(namespaceMap,
writeXsiType && !ignoreNamespaces,
attributesToElements,
typeConverter);
if (!dropElementsInXmlStreamProp && super.outDropElements != null) {
config.setIgnoredElements(outDropElements);
}
if (!writeNullAsString) {
config.setWriteNullAsString(writeNullAsString);
}
boolean ignoreEmpty = getBooleanJsonProperty(IGNORE_EMPTY_JSON_ARRAY_VALUES_PROPERTY, ignoreEmptyArrayValues);
if (ignoreEmpty) {
config.setIgnoreEmptyArrayValues(ignoreEmpty);
}
boolean dropRootInJsonStream = dropRootNeeded && !dropElementsInXmlStreamProp;
if (dropRootInJsonStream) {
config.setDropRootElement(true);
}
List<String> theArrayKeys = getArrayKeys();
boolean rootIsArray = isRootArray(theArrayKeys);