# CourseArea serialization: id has to be a string to produce correct json output

This commit is contained in:
Lukas Niemeier committed 2013-02-02 15:26:45 +01:00
1 parent 061e695815
commit 0d32aff524
1 file changed
+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;
}