- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 70 for jsondata (0.05 seconds)
-
internal/s3select/sql/jsonpath_test.go
return nil, err } return result, nil } func TestJsonpathEval(t *testing.T) { f, err := os.Open(filepath.Join("jsondata", "books.json")) if err != nil { t.Fatal(err) } b, err := io.ReadAll(f) if err != nil { t.Fatal(err) } p := participle.MustBuild( &JSONPath{}, participle.Lexer(sqlLexer), participle.CaseInsensitive("Keyword"), ) cases := []struct { str string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/s3select/select_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0) -
internal/s3select/sql/jsonpath.go
Klaus Post <******@****.***> 1756435188 +0200
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
String response = checkMethodBase(requestBody).post("/api/admin/webconfig/setting").asString(); JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.getString("response.id"); } protected static List<String> getWebConfigIds(final String namePrefix) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java
Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } protected static void deleteLabel(String id) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java
.when() .get("/api/v1/suggest-words") .asString(); JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getInt("record_count") >= 0); assertTrue(jsonPath.getInt("page_size") >= 0); assertTrue(jsonPath.getLong("query_time") >= 0); } @Test public void testSuggestWords_pageSizeDefault() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> items = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, items.size()); assertEquals(0, status); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString(); JsonPath jsonPath = JsonPath.from(response); assertEquals(0, jsonPath.getInt("response.status")); List<Map<String, Object>> logs = jsonPath.getList("response.logs"); assertTrue(logs.size() >= 1); // Test with pagination searchBody.put("size", 10);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } private static String createCrawlLabel() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java
Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } private static void deleteLabel(final String id) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0)