Open aHenryJard opened 5 years ago
Done with https://github.com/stapler/stapler/pull/173 I assume?
There's a test case added now that reproduces the issue @batmat
It's ignored as the issue wasn't fixed: https://github.com/stapler/stapler/blob/master/core/src/test/java/org/kohsuke/stapler/export/JSONDataWriterTest.java#L105
Using JSONObject in classes with annotation
@ExportedBean
works fine except when there is a field with null value.Having a field with null value is correct in JSON format. So JSONObject with JSONNull should be exportable as other JSONObject.
The exception raised is:
PR with test to reproduce the issue: https://github.com/stapler/stapler/pull/173