X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjavascript%2Fjson%2FJSON.java;h=30e333647630f1765e92326dac42c7a6e831cc01;hb=d68d427703088222c2ca6f5968affd5932143eaf;hp=6cb7cb5ccc977a9e0d679a2668614cbb6ec3ed5c;hpb=6f1a50917d60504ae3eb46377d3020271accacaf;p=jalview.git
diff --git a/src/jalview/javascript/json/JSON.java b/src/jalview/javascript/json/JSON.java
index 6cb7cb5..30e3336 100644
--- a/src/jalview/javascript/json/JSON.java
+++ b/src/jalview/javascript/json/JSON.java
@@ -1,14 +1,28 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ *
+ * This file is part of Jalview.
+ *
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *
+ * Jalview is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
package jalview.javascript.json;
import java.io.BufferedReader;
-import java.io.IOException;
import java.io.InputStream;
-import java.io.Reader;
import java.net.URL;
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
/**
*
@@ -25,231 +39,53 @@ import java.util.List;
* @author hansonr Bob Hanson St. Olaf College 1/24/2019
*
*/
-public class JSON {
-
- /**
- * A privately initialized class that allows us to do the object
- * conversion from JavaScript to "Java" on the fly.
- *
- * @author hansonr
- *
- */
- @SuppressWarnings("serial")
- public static class JSONList extends ArrayList