summaryrefslogtreecommitdiff
path: root/ddl/out/java/TestData/JSON.java
diff options
context:
space:
mode:
Diffstat (limited to 'ddl/out/java/TestData/JSON.java')
-rw-r--r--ddl/out/java/TestData/JSON.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ddl/out/java/TestData/JSON.java b/ddl/out/java/TestData/JSON.java
index b6c11f3..61b5c21 100644
--- a/ddl/out/java/TestData/JSON.java
+++ b/ddl/out/java/TestData/JSON.java
@@ -1,5 +1,5 @@
1// generated file, do not modify! 1// generated file, do not modify!
2// 2016-03-29T11:30:13.376022000000Z 2// 2016-04-01T16:25:35.381981000000Z
3 3
4package TestData; 4package TestData;
5 5
@@ -46,8 +46,8 @@ public class JSON {
46 46
47 public static Object fromJSON(Type type, Object rawObj) throws JSONException, Exception { 47 public static Object fromJSON(Type type, Object rawObj) throws JSONException, Exception {
48 switch (type) { 48 switch (type) {
49 case Int: return (Integer)rawObj; 49 case Int: return ((Number)rawObj).intValue();
50 case Float: return (Float)rawObj; 50 case Float: return ((Number)rawObj).floatValue();
51 case String: return (String)rawObj; 51 case String: return (String)rawObj;
52 case Array_Int: { 52 case Array_Int: {
53 JSONArray obj = (JSONArray)rawObj; 53 JSONArray obj = (JSONArray)rawObj;