Skip to content

Commit

Permalink
add testcase for issue #3104
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Nov 2, 2024
1 parent 3f33b70 commit 42fdc2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ public void test() {
String json = JSON.toJSONString(new Transform("zhangsan", "lisi"));
assertEquals("{\"bridge\":{\"from\":\"zhangsan\",\"to\":\"lisi\"}}", json);
Transform transform = JSON.parseObject(json, Transform.class);
System.out.println(transform);
assertEquals(json, JSON.toJSONString(transform));
}
}

0 comments on commit 42fdc2f

Please sign in to comment.