| When GeoJSON encoder tries to handle an xml attribute with other type than string, in this case an integer, Geoserver throws a class cast exception due to complex GeoJSON writer is handling all xml attributes as string. On GML output this issue is not present and numeric typed attributes are encoded without exceptions. This was reproduced using a app-schema jdbc multi value element with an integer typed attribute and executing a WFS GetFeature requesting GeoJSON output. https://docs.geoserver.org/stable/en/user/data/app-schema/mapping-file.html#attributes-with-cardinality-1-n |