@Test
    public void testNullValues() throws IOException {
        Document doc = docFromJson("""
                                   {
                                     "put": "id:unittest:testnull::doc1",
                                     "fields": {
                                       "intfield": null,
                                       "stringfield": null,
                                       "arrayfield": null,
                                       "weightedsetfield": null,
                                       "mapfield": null,
                                       "tensorfield": null
                                     }
                                   }
                                   """);
        assertFieldValueNull(doc, "intfield");
        assertFieldValueNull(doc, "stringfield");
        assertFieldValueNull(doc, "arrayfield");
        assertFieldValueNull(doc, "weightedsetfield");
        assertFieldValueNull(doc, "mapfield");
        assertFieldValueNull(doc, "tensorfield");
    }
Basic test of JSON streams to Vespa document instances.

@author Steinar Knutsen
@author bratseth
document/src/test/java/com/yahoo/document/json/JsonReaderTestCase.java