aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/json/JSONSerializer.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-16 19:13:30 +0300
committerGravatar Vitaly Takmazov2016-01-16 19:13:30 +0300
commit143513cec90ab176e5c174fb4ed98c249652bda6 (patch)
treea9649716f8b5ca2aba7fc4d43603467c4ef4cf5a /src/main/java/com/juick/json/JSONSerializer.java
parent1a39696a6eaf4ea41447e4426ccdcfacec657554 (diff)
refactoring
Diffstat (limited to 'src/main/java/com/juick/json/JSONSerializer.java')
-rw-r--r--src/main/java/com/juick/json/JSONSerializer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/json/JSONSerializer.java b/src/main/java/com/juick/json/JSONSerializer.java
index 8ac72cb0..142cacf0 100644
--- a/src/main/java/com/juick/json/JSONSerializer.java
+++ b/src/main/java/com/juick/json/JSONSerializer.java
@@ -5,6 +5,7 @@
*/
package com.juick.json;
+import java.text.ParseException;
import java.util.Iterator;
import java.util.List;
import org.json.JSONObject;
@@ -21,7 +22,7 @@ public abstract class JSONSerializer<T> {
* @param json
* @return
*/
- public abstract T deserialize(JSONObject json);
+ public abstract T deserialize(JSONObject json) throws ParseException;
/**
*