Rev 1780 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1780 | Rev 1782 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | import org.json.JSONException; |
6 | import org.json.JSONException; |
7 | import org.json.JSONObject; |
7 | import org.json.JSONObject; |
8 | 8 | ||
9 | import java.io.IOException; |
9 | import java.io.IOException; |
10 | import java.io.Serializable; |
10 | import java.io.Serializable; |
- | 11 | import java.util.ArrayList; |
|
11 | import java.util.List; |
12 | import java.util.List; |
- | 13 | import java.util.Set; |
|
12 | 14 | ||
13 | /** |
15 | /** |
14 | * Created by jorgemachado on 27/03/17. |
16 | * Created by jorgemachado on 27/03/17. |
15 | */ |
17 | */ |
16 | public class RepositoryDocumentInterfaceImpl extends RepositoryDocumentInterface { |
18 | public class RepositoryDocumentInterfaceImpl extends RepositoryDocumentInterface { |
Line 27... | Line 29... | ||
27 | .include(1.5.0/docs/api/java/lang/Boolean.html">Boolean.class) |
29 | .include(1.5.0/docs/api/java/lang/Boolean.html">Boolean.class) |
28 | .include(1.5.0/docs/api/java/lang/Integer.html">Integer.class) |
30 | .include(1.5.0/docs/api/java/lang/Integer.html">Integer.class) |
29 | .include(1.5.0/docs/api/java/lang/Long.html">Long.class) |
31 | .include(1.5.0/docs/api/java/lang/Long.html">Long.class) |
30 | .include(1.5.0/docs/api/java/lang/Double.html">Double.class) |
32 | .include(1.5.0/docs/api/java/lang/Double.html">Double.class) |
31 | .include(1.5.0/docs/api/java/lang/Float.html">Float.class) |
33 | .include(1.5.0/docs/api/java/lang/Float.html">Float.class) |
32 | .include(1.5.0/docs/api/java/lang/String.html">String.class); |
34 | .include(1.5.0/docs/api/java/lang/String.html">String.class) |
- | 35 | .include(1.5.0/docs/api/java/util/ArrayList.html">ArrayList.class) |
|
- | 36 | .include(1.5.0/docs/api/java/util/Set.html">Set.class) |
|
- | 37 | .include(5+0%2Fdocs%2Fapi+List">List.class); |
|
33 | genson = gensonBuilder.create(); |
38 | genson = gensonBuilder.create(); |
34 | 39 | ||
35 | } |
40 | } |
36 | public 1.5.0/docs/api/java/lang/String.html">String toJson(){ |
41 | public 1.5.0/docs/api/java/lang/String.html">String toJson(){ |
37 | return genson.serialize(this); |
42 | return genson.serialize(this); |