@Test
    public void testGeoPositionNoAbbreviations() throws IOException {
        Document doc = docFromJson("""
                                   {
                                     "put": "id:unittest:testsinglepos::bamf",
                                     "fields": {
                                       "singlepos": {
                                         "latitude": 63.429722,
                                         "longitude": 10.393333
                                       }
                                     }
                                   }
                                   """);
        FieldValue f = doc.getFieldValue(doc.getField("singlepos"));
        assertSame(Struct.class, f.getClass());
        assertEquals(10393333, PositionDataType.getXValue(f).getInteger());
        assertEquals(63429722, PositionDataType.getYValue(f).getInteger());
    }
Basic test of JSON streams to Vespa document instances.

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