Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toJSONString (0.13 sec)

  1. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	if string(toJSONString(got)) != string(toJSONString(want)) {
    		t.Errorf("got %s; want %s", toJSONString(got), toJSONString(want))
    	}
    }
    
    type LevelA1 struct {
    	ID    uint
    	Value string
    }
    
    type LevelA2 struct {
    	ID       uint
    	Value    string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        private val buckets: Map<TestCoverage, List<SmallSubprojectBucket>> = buildBuckets(testTimeDataJson, model)
    
        fun generate(jsonFile: File) {
            jsonFile.writeText(
                JSON.toJSONString(
                    buckets.map {
                        TestCoverageAndBucketSplits(it.key.uuid, it.value.map { it.toJsonBucket() })
                    },
                    SerializerFeature.PrettyFormat,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            logger.info(msg);
            if (logger.isDebugEnabled()) {
                for (final SuggestItem item : items) {
                    logger.debug("[{}] {}", type, item.toJsonString());
                }
            }
        }
    
        @Deprecated
        public Deferred<SuggestIndexResponse>.Promise indexFromDocument(final Supplier<DocumentReader> reader, final int docPerReq,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            if (values == null) {
                return "[]";
            }
            return "[" + Arrays.stream(values).map(this::convertJsonString).collect(Collectors.joining(",")) + "]";
        }
    
        public String toJsonString() {
            final StringBuilder buf = new StringBuilder();
            buf.append('{').append('"').append(FieldNames.TEXT).append("\":").append(convertJsonString(text));
    
            for (int i = 0; i < readings.length; i++) {
    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