for (Object jsonObj: jsonList) {
BasicDBObject json = (BasicDBObject)jsonObj;
try {
String key = docInfo.getKey();
// (allow user to not prepend array: if they don't want to)
if ((1 == json.size()) && json.containsKey((Object)"array")) {
if (!key.startsWith("array:") &&
!key.startsWith(":array") && !key.startsWith("$:array") &&
!key.startsWith("::") && !key.startsWith("$::"))
{
if (key.startsWith(":")) { // jpath