Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for jsonParser (0.06 sec)

  1. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                        }
                    }
                }
            }
        }
    
        protected Object parsePrimitive(final JsonParser jsonParser) throws IOException {
            final JsonToken token = jsonParser.getCurrentToken();
            return switch (token) {
            case VALUE_STRING -> jsonParser.getText();
            case VALUE_NUMBER_INT -> jsonParser.getLongValue();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    	return jsonparser.ObjectEach(b, func(key []byte, value []byte, dataType jsonparser.ValueType, _ int) error {
    		if len(key) == 0 {
    			return nil
    		}
    		switch key[0] {
    		case 'a':
    			if string(key) == "accessKey" {
    				if dataType != jsonparser.String {
    					return errors.New("accessKey: Expected string")
    				}
    				c.AccessKey, err = jsonparser.ParseString(value)
    				return err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                    .header("Accept", "application/json").execute()) {
                final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
                if (logger.isDebugEnabled()) {
                    logger.debug("response: {}", contentMap);
                }
                if (contentMap.containsKey("value")) {
                    @SuppressWarnings("unchecked")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. go.mod

    	github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.0
    	github.com/IBM/sarama v1.43.3
    	github.com/alecthomas/participle v0.7.1
    	github.com/beevik/ntp v1.4.3
    	github.com/buger/jsonparser v1.1.1
    	github.com/cespare/xxhash/v2 v2.3.0
    	github.com/cheggaaa/pb v1.0.29
    	github.com/coreos/go-oidc/v3 v3.11.0
    	github.com/coreos/go-systemd/v22 v22.5.0
    	github.com/cosnicolaou/pbzip2 v1.0.3
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. internal/s3select/jstream/decoder.go

    	d.scratch.addRune(utf16.DecodeRune(r, r2))
    	c = d.next()
    	goto scan
    }
    
    // u4 reads four bytes following a \u escape
    func (d *Decoder) u4() rune {
    	// logic taken from:
    	// github.com/buger/jsonparser/blob/master/escape.go#L20
    	var h [4]int
    	for i := 0; i < 4; i++ {
    		c := d.next()
    		switch {
    		case c >= '0' && c <= '9':
    			h[i] = int(c - '0')
    		case c >= 'A' && c <= 'F':
    			h[i] = int(c - 'A' + 10)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top