@Test(expected = IllegalArgumentException.class)
    public void testInvalidFieldWithoutFieldsFieldShouldFailParse() {
        String jsonData = """
                          [
                            {
                              "remove": "id:unittest:smoke::whee",
                              "what is love": "baby, do not hurt me... much
                            }
                          ]"""; // "

        new JsonReader(types, jsonToInputStream(jsonData), parserFactory).next();
    }
Basic test of JSON streams to Vespa document instances.

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