Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RawJSON (0.35 sec)

  1. internal/s3select/json/record.go

    	"github.com/bcicen/jstream"
    	csv "github.com/minio/csvparser"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // RawJSON is a byte-slice that contains valid JSON
    type RawJSON []byte
    
    // MarshalJSON instance for []byte that assumes that byte-slice is
    // already serialized JSON
    func (b RawJSON) MarshalJSON() ([]byte, error) {
    	return b, nil
    }
    
    // Record - is JSON record.
    type Record struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    	groupVersionString := "v1"
    	rawJson := fmt.Sprintf(`{"kind":"Pod","apiVersion":"%s","metadata":{"name":"test"}}`, groupVersionString)
    	pl := &List{
    		Items: []runtime.Object{
    			&testapigroup.Carp{ObjectMeta: metav1.ObjectMeta{Name: "1"}},
    			&runtime.Unknown{
    				TypeMeta:    runtime.TypeMeta{Kind: "Pod", APIVersion: groupVersionString},
    				Raw:         []byte(rawJson),
    				ContentType: runtime.ContentTypeJSON,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

            }
        }
    
        private void writeDetailTree(List<BuildOperationRecord> roots) throws IOException {
            try {
                String rawJson = jsonGenerator.toJson(BuildOperationTree.serialize(roots));
                String prettyJson = JsonOutput.prettyPrint(rawJson);
                Files.asCharSink(file(basePath, "-tree.json"), Charsets.UTF_8).write(prettyJson);
            } catch (OutOfMemoryError e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go

    	proto.Sizer
    	runtime.ProtobufReverseMarshaller
    }
    
    // estimateUnknownSize returns the expected bytes consumed by a given runtime.Unknown
    // object with a nil RawJSON struct and the expected size of the provided buffer. The
    // returned size will not be correct if RawJSOn is set on unk.
    func estimateUnknownSize(unk *runtime.Unknown, byteSize uint64) uint64 {
    	size := uint64(unk.Size())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 13:38:23 UTC 2022
    - 17.8K bytes
    - Viewed (0)
Back to top