Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJSONLimits (1.4 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go

    			benchmark: true,
    		},
    	}
    }
    
    var decoders = map[string]func([]byte, interface{}) error{
    	"gojson":   gojson.Unmarshal,
    	"utiljson": utiljson.Unmarshal,
    }
    
    func TestJSONLimits(t *testing.T) {
    	for _, tc := range testcases() {
    		if tc.benchmark {
    			continue
    		}
    		t.Run(tc.name, func(t *testing.T) {
    			for decoderName, decoder := range decoders {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:49:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top