Fixed serialization error that leads to unparseable JSON - strings always must be serialized as strings to get the quotes

This commit is contained in:
Simon Pamies committed 2014-06-08 18:18:41 +02:00
1 parent 640e8aa964
commit 072fc9167f
1 file changed
+1 -1
@@ -30,7 +30,7 @@ public class RaceLogDenoteForTrackingEventSerializer extends BaseRaceLogEventSer
JSONObject result = super.serialize(event);
result.put(FIELD_RACE_NAME, event.getRaceName());
result.put(FIELD_BOAT_CLASS, event.getBoatClass().getName());
result.put(FIELD_RACE_ID, event.getRaceId());
result.put(FIELD_RACE_ID, event.getRaceId().toString());
return result;
}