@Test
    public void testPositionGeoPos() throws IOException {
        Document doc = docFromJson("""
                                   {
                                     "put": "id:unittest:testsinglepos::bamf",
                                     "fields": {
                                       "geopos": "N63.429722;E10.393333"
                                     }
                                   }
                                   """);
        FieldValue f = doc.getFieldValue(doc.getField("geopos"));
        assertSame(Struct.class, f.getClass());
        assertEquals(10393333, PositionDataType.getXValue(f).getInteger());
        assertEquals(63429722, PositionDataType.getYValue(f).getInteger());
        assertEquals(f.getDataType(), PositionDataType.INSTANCE);
    }
Basic test of JSON streams to Vespa document instances.

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