JAL-3210 Just about working transpilation. Some work needed for new Java 11 classes
[jalview.git] / src / org / json / simple / JSONValue.java
index 5da3cd0..d6b2185 100644 (file)
@@ -41,6 +41,7 @@ public class JSONValue {
         * {@code null}; please use {@link JSONValue#parseWithException(Reader)}
         * instead
         */
+  @Deprecated
        public static Object parse(Reader in){
                try{
                        JSONParser parser=new JSONParser();
@@ -71,6 +72,7 @@ public class JSONValue {
         * {@code null}; please use {@link JSONValue#parseWithException(String)}
         * instead
         */
+  @Deprecated
        public static Object parse(String s){
                StringReader in=new StringReader(s);
                return parse(in);