return null;
}
if (object instanceof Element) {
return GraphSONUtility.jsonFromElement((Element) object, returnKeys, this.mode);
} else if (object instanceof Row) {
final Row row = (Row) object;
final List<String> columnNames = row.getColumnNames();
final Map<String, Object> map = new HashMap<String, Object>();
for (String columnName : columnNames) {
map.put(columnName, prepareOutput(row.getColumn(columnName)));
}
return new JSONObject(map);
} else if (object instanceof Map) {
final JSONObject jsonObject = new JSONObject();