@Test
    public void docIdLookaheadTest() throws IOException {
        Document doc = docFromJson("""
                                   {
                                     "put": "id:unittest:smoke::doc1",
                                     "fields": {
                                       "something": "smoketest",
                                       "flag": true,
                                       "nalle": "bamse"
                                     }
                                   }
                                   """);
        smokeTestDoc(doc);
    }
Basic test of JSON streams to Vespa document instances.

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