We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3661fc commit 57c7573Copy full SHA for 57c7573
1 file changed
src/test/java/com/alibaba/json/bvt/issue_1100/Issue1150.java
@@ -14,6 +14,11 @@ public void test_for_issue() throws Exception {
14
assertNull(model.values);
15
}
16
17
+ public void test_for_issue_null() throws Exception {
18
+ Model model = JSON.parseObject("{\"values\":null}", Model.class);
19
+ assertNull(model.values);
20
+ }
21
+
22
public void test_for_issue_array() throws Exception {
23
Model2 model = JSON.parseObject("{\"values\":\"\"}", Model2.class);
24
0 commit comments