From 0d4617d814920a18fdeef5ff3827ed14f688c8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rap=C5=A1evi=C4=8Dius=20Valdas?= Date: Mon, 26 Aug 2013 17:14:36 +0300 Subject: [PATCH] Enabled serialization to JSONObject and JSONArray --- JSONArray.java | 2 +- JSONObject.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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