Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for escapeJson (0.08 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append(",\"start_record_number\":");
                buf.append(startRecordNumber);
                buf.append(",\"end_record_number\":");
                buf.append(escapeJson(endRecordNumber));
                buf.append(",\"page_numbers\":");
                buf.append(escapeJson(pageNumbers));
                buf.append(",\"partial\":");
                buf.append(escapeJson(partial));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                exception.printStackTrace(writer);
                writer.flush();
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8)));
            } catch (final IOException e) {
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(e.getMessage()));
            }
            return buf;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                buf.append('"').append(StringEscapeUtils.escapeJson(format)).append('"');
            } else if (value instanceof String[]) {
                final String json = Arrays.stream((String[]) value).map(s -> "\"" + StringEscapeUtils.escapeJson(s) + "\"")
                        .collect(Collectors.joining(","));
                buf.append('[').append(json).append(']');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + index + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            try {
                zos.putNextEntry(entry);
                SearchEngineUtil.scroll(index, hit -> {
                    final String data = "{\"index\":{\"_index\":\"" + index + "\",\"_id\":\"" + StringEscapeUtils.escapeJson(hit.getId())
                            + "\"}}\n" + hit.getSourceAsString() + "\n";
                    try {
                        zos.write(data.getBytes(Constants.CHARSET_UTF_8));
                    } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top