Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ObjectEach (0.04 sec)

  1. internal/jwt/parser.go

    	jwtgo.StandardClaims
    }
    
    // UnmarshalJSON provides custom JSON unmarshal.
    // This is mainly implemented for speed.
    func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) {
    	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" {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top