Unit tests for Json hierarchy factory methods
bowbahdoe opened this issue · 0 comments
bowbahdoe commented
There are factory methods on Json
and all its implementors - JsonArray
, JsonObject
, JsonNumber
, JsonString
etc. Some of them assert non-nullity of elements like JsonString
and some tolerate null like the Json.of
overloads.
That behavior should be explicitly asserted.