docs: private static void selectToJson(CqlSession session) {
  
      Statement stmt =
          selectFrom("examples", "json_jackson_function")
              .column("id")
              .function("toJson", Selector.column("user"))
              .as("user")
              .function("toJson", Selector.column("scores"))
              .as("scores")
              .whereColumn("id")
              .in(literal(1), literal(2))
              .build();
      System.out.println(((SimpleStatement) stmt).getQuery());
  
      ResultSet rows = session.execute(stmt);
  
      for (Row row : rows) {
        int id = row.getInt("id");
        // retrieve the JSON payload and convert it to a User instance
        User user = row.get("user", User.class);
        // it is also possible to retrieve the raw JSON payload
        String userJson = row.getString("user");
        // retrieve the JSON payload and convert it to a JsonNode instance
        // note that the codec requires that the type passed to the get() method
        // be always JsonNode, and not a subclass of it, such as ObjectNode
        JsonNode scores = row.get("scores", JsonNode.class);
        // it is also possible to retrieve the raw JSON payload
        String scoresJson = row.getString("scores");
        System.out.printf(
            "Retrieved row:%n"
                + "id           %d%n"
                + "user         %s%n"
                + "user (raw)   %s%n"
                + "scores       %s%n"
                + "scores (raw) %s%n%n",
            id, user, userJson, scores, scoresJson);
      }
    }