docs: private static void selectWithQueryBuilder(CqlSession session) {
      // Reading the whole row as a JSON object:
      Statement stmt =
          selectFrom("examples", "querybuilder_json")
              .json()
              .all()
              .whereColumn("id")
              .isEqualTo(literal(1))
              .build();
      Row row = session.execute(stmt).one();
      assert row != null;
      System.out.printf("Entry #1 as JSON: %s%n", row.getString("[json]"));
  
      // Extracting a particular column as JSON:
      stmt =
          selectFrom("examples", "querybuilder_json")
              .column("id")
              .function("toJson", Selector.column("specs"))
              .as("json_specs")
              .whereColumn("id")
              .isEqualTo(literal(2))
              .build();
  
      row = session.execute(stmt).one();
      assert row != null;
  
      System.out.printf(
          "Entry #%d's specs as JSON: %s%n", row.getInt("id"), row.getString("json_specs"));
    }