@Test public void testSerializedTimestamp() { String serialized = new String(JsonFormatter.serialize( new SimpleVehicleMessage( Long.valueOf(1332432977835L), messageName, value))); assertTrue(serialized.contains("1332432977.835")); }
public static String serialize(VehicleMessage message) { return sGson.toJson(message); }
JsonFormatter { public static String serialize(VehicleMessage message) { return sGson.toJson(message); } }
JsonFormatter { public static String serialize(VehicleMessage message) { return sGson.toJson(message); }  }
JsonFormatter { public static String serialize(VehicleMessage message) { return sGson.toJson(message); }  static String serialize(VehicleMessage message); static String serialize(Collection<VehicleMessage> messages); static VehicleMessage deserialize(String data); }
JsonFormatter { public static String serialize(VehicleMessage message) { return sGson.toJson(message); }  static String serialize(VehicleMessage message); static String serialize(Collection<VehicleMessage> messages); static VehicleMessage deserialize(String data);  }