} else if (reader.matches('[')) {
properties.put(name, readArrayProperty(name, reader));
} else {
properties.put(name, readProperty(name, reader));
}
} while (reader.matches(','));
reader.read('}');
reader.read(JsopReader.END);
// optimize for empty childNodes
if (childNames.isEmpty()) {
childNames = Collections.emptySet();