We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b17f01 commit 42aaf6dCopy full SHA for 42aaf6d
core/src/test/java/com/alibaba/fastjson2/issues_1600/Issue1613.java
@@ -0,0 +1,19 @@
1
+package com.alibaba.fastjson2.issues_1600;
2
+
3
+import com.alibaba.fastjson2.JSON;
4
+import org.junit.jupiter.api.Test;
5
6
+import static org.junit.jupiter.api.Assertions.assertEquals;
7
8
+public class Issue1613 {
9
+ @Test
10
+ public void test() {
11
+ Bean bean = new Bean();
12
+ assertEquals("{}", JSON.toJSONString(bean));
13
+ }
14
15
+ public static class Bean {
16
+ public void getId() {
17
18
19
+}
0 commit comments