Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for JsonIndexExportFormatter (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            source.put("field_with_null", null);
    
            final String json = new JsonIndexExportFormatter().format(source, Collections.emptySet());
    
            assertFalse(json.contains("field_with_null"));
        }
    
        @Test
        public void test_jsonFormatter_emptyMap() {
            final String json = new JsonIndexExportFormatter().format(Collections.emptyMap(), Collections.emptySet());
    
            assertTrue(json.contains("{"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            }
            switch (format.trim().toLowerCase()) {
            case "html":
                return new HtmlIndexExportFormatter();
            case "json":
                return new JsonIndexExportFormatter();
            default:
                throw new IllegalArgumentException("Unsupported export format: " + format);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
Back to Top