}
else if (json != null && json instanceof FileObject) {
FileObject fo = (FileObject)json;
boolean flag = true;
try {
JSONTokener tokener = new JSONTokener(new InputStreamReader(new FileInputStream(fo.file), fo.encoding));
char c = tokener.nextClean();
if (c == '{') {
getWorksheet().getMetadataContainer().getWorksheetProperties().setWorksheetDataStructure(DataStructure.OBJECT);
JsonImportValues JsonImportValues = new JsonImportValues(maxNumLines, numObjects, getFactory(), getWorksheet(), columnsJson);
JsonImportValues.addKeysAndValues(tokener, getWorksheet().getHeaders(),
getWorksheet().getDataTable());