Merge branch 'features/JAL-1641_JSON_' into develop
[jalview.git] / src / jalview / io / IdentifyFile.java
index 4074c45..a87f34a 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  *
  * This file is part of Jalview.
  *
@@ -136,6 +136,11 @@ public class IdentifyFile
 
           break;
         }
+        if (data.indexOf("{\"") > -1)
+        {
+          reply = JSONFile.FILE_DESC;
+          break;
+        }
         // if (data.matches("<(\"[^\"]*\"|'[^']*'|[^'\">])*>"))
         if (data.matches("<(?i)html(\"[^\"]*\"|'[^']*'|[^'\">])*>"))
         {