diff --git a/JSONArray.java b/JSONArray.java index 673a91927..e0028b35e 100644 --- a/JSONArray.java +++ b/JSONArray.java @@ -77,7 +77,7 @@ of this software and associated documentation files (the "Software"), to deal * @author JSON.org * @version 2013-04-18 */ -public class JSONArray { +public class JSONArray implements java.io.Serializable { /** * The arrayList where the JSONArray's properties are kept. diff --git a/JSONObject.java b/JSONObject.java index 5ca5a45bc..d03aabaa5 100755 --- a/JSONObject.java +++ b/JSONObject.java @@ -92,7 +92,7 @@ of this software and associated documentation files (the "Software"), to deal * @author JSON.org * @version 2013-06-17 */ -public class JSONObject { +public class JSONObject implements java.io.Serializable { /** * JSONObject.NULL is equivalent to the value that JavaScript calls null, * whilst Java's null is equivalent to the value that JavaScript calls