Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,251 for JSON (0.18 sec)

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

    	// matches JSON, and will error if constructs are used that do not serialize to JSON.
    	Yaml bool
    
    	// Pretty: configures a JSON enabled Serializer(`Yaml: false`) to produce human-readable output.
    	// This option is silently ignored when `Yaml` is `true`.
    	Pretty bool
    
    	// Strict: configures the Serializer to return strictDecodingError's when duplicate fields are present decoding JSON or YAML.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 16:08:07 UTC 2022
    - 12K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/printers/json.go

    limitations under the License.
    */
    
    package printers
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"reflect"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // JSONPrinter is an implementation of ResourcePrinter which outputs an object as JSON.
    type JSONPrinter struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 11:23:25 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/openid__v1__jwks_openapi.json

      "paths": {
        "/openid/v1/jwks/": {
          "get": {
            "description": "get service account issuer OpenID JSON Web Key Set (contains public token verification keys)",
            "operationId": "getServiceAccountIssuerOpenIDKeyset",
            "responses": {
              "200": {
                "content": {
                  "application/jwk-set+json": {
                    "schema": {
                      "type": "string"
                    }
                  }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 00:49:56 UTC 2022
    - 972 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/json/json.go

    limitations under the License.
    */
    
    package json
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    
    	kjson "sigs.k8s.io/json"
    )
    
    // NewEncoder delegates to json.NewEncoder
    // It is only here so this package can be a drop-in for common encoding/json uses
    func NewEncoder(w io.Writer) *json.Encoder {
    	return json.NewEncoder(w)
    }
    
    // Marshal delegates to json.Marshal
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:49:23 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  5. pkg/test/json.go

    package test
    
    import (
    	"bytes"
    	"encoding/json"
    )
    
    // JSONEquals compares two json strings. We cannot compare JSON strings from protobuf because of
    // design decisions https://github.com/golang/protobuf/issues/1373 Instead, use this function to
    // normalize the formatting
    func JSONEquals(t Failer, a, b string) {
    	t.Helper()
    	ba := bytes.Buffer{}
    	if err := json.Compact(&ba, []byte(a)); err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. api/openapi-spec/swagger.json

    package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\"...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__apps__v1_openapi.json

    package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\"...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 810.7K bytes
    - Viewed (0)
  8. pkg/apis/core/json.go

    limitations under the License.
    */
    
    package core
    
    import "encoding/json"
    
    // This file implements json marshaling/unmarshaling interfaces on objects that are currently marshaled into annotations
    // to prevent anyone from marshaling these internal structs.
    
    var _ = json.Marshaler(&AvoidPods{})
    var _ = json.Unmarshaler(&AvoidPods{})
    
    // MarshalJSON panics to prevent marshalling of internal structs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 18:06:51 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__autoscaling__v1_openapi.json

    package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\"...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 152.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__policy__v1_openapi.json

    package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\"...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top