Commit a3d76f15 authored by neo's avatar neo

[DEV] fixed status

parent de0f6192
......@@ -48,7 +48,7 @@ public class WrapPeriodJobDto {
}
public static List<Task> fromJson(String taskJson) {
return JSONObject.parseArray(taskJson, Task.class);
return JSON.parseObject(taskJson, new TypeReference<List<Task>>() {});
}
public static String toJson(List<Task> tasks) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment