Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for convertJsonString (0.24 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

        }
    
        private String convertJsonString(final String value) {
            return "\"" + value.replace("\"", "\\\"") + "\"";
        }
    
        private String convertJsonStrings(final String[] values) {
            if (values == null) {
                return "[]";
            }
            return "[" + Arrays.stream(values).map(this::convertJsonString).collect(Collectors.joining(",")) + "]";
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top