mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 14:20:55 +00:00
# CourseArea serialization: id has to be a string to produce correct json output
This commit is contained in:
1 parent
061e695815
commit
0d32aff524
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@ public class CourseAreaJsonSerializer implements JsonSerializer<CourseArea> {
|
||||
JSONObject result = new JSONObject();
|
||||
|
||||
result.put(FIELD_NAME, object.getName());
|
||||
result.put(FIELD_ID, object.getId());
|
||||
result.put(FIELD_ID, object.getId().toString());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user