default <T> T as(Class<T> clazz) {
    return JsonConversion.convertValue(rawValue(), clazz);
  }
Attempts to marshal this value into a typed java class or record using
<a href="https://github.com/FasterXML/jackson-databind">jackson-databind</a>.
<p>
For example:
{@snippet :
record Point(double x, double y) {}
var point = Struct.of(Map.of("x", 1.5, "y", 2)).as(Point.class);
System.out.println(point); // "Point[x=1.5, y=2.0]"
}
planetiler-core/src/main/java/com/onthegomap/planetiler/reader/Struct.java