Changeset 25
- Timestamp:
- 05/28/13 16:12:48 (13 years ago)
- Location:
- trunk/objectmq/src/omq/common/util/Serializers
- Files:
-
- 3 edited
-
GsonImp.java (modified) (1 diff)
-
JavaImp.java (modified) (1 diff)
-
KryoImp.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/objectmq/src/omq/common/util/Serializers/GsonImp.java
r16 r25 76 76 try { 77 77 String json = new String(bytes); 78 System.out.println(json); 78 System.out.println(json); 79 79 80 JsonParser parser = new JsonParser(); 80 81 JsonObject jsonObj = parser.parse(json).getAsJsonObject(); -
trunk/objectmq/src/omq/common/util/Serializers/JavaImp.java
r17 r25 59 59 } 60 60 61 p rivateObject deserliazeObject(byte[] bytes) throws SerializerException {61 public Object deserliazeObject(byte[] bytes) throws SerializerException { 62 62 try { 63 63 ByteArrayInputStream input = new ByteArrayInputStream(bytes); -
trunk/objectmq/src/omq/common/util/Serializers/KryoImp.java
r16 r25 59 59 } 60 60 61 p rivateObject deserializeObject(byte[] bytes, Class<?> type) throws SerializerException {61 public Object deserializeObject(byte[] bytes, Class<?> type) throws SerializerException { 62 62 try { 63 63 Input input = new Input(bytes);
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/objectmq/chrome/site/your_project_logo.png)