Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for strictJSONErrs (0.12 sec)

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

    			strictErrs = append(strictErrs, err)
    		}
    	}
    
    	var strictJSONErrs []error
    	if u, isUnstructured := into.(runtime.Unstructured); isUnstructured {
    		// Unstructured is a custom unmarshaler that gets delegated
    		// to, so in order to detect strict JSON errors we need
    		// to unmarshal directly into the object.
    		m := map[string]interface{}{}
    		strictJSONErrs, err = kjson.UnmarshalStrict(data, &m)
    		u.SetUnstructuredContent(m)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 16:08:07 UTC 2022
    - 12K bytes
    - Viewed (0)
Back to top