Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 25 of 25 for MarshalJSON (0.11 seconds)

  1. internal/event/targetid_test.go

    	}
    
    	for i, testCase := range testCases {
    		data, err := testCase.tid.MarshalJSON()
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  2. internal/s3select/simdj/reader_amd64_test.go

    			dec := NewElementReader(dst, &err, &json.ReaderArgs{ContentType: "json"})
    			pj, err := simdjson.ParseND(ref, nil)
    			if err != nil {
    				t.Fatal(err)
    			}
    			i := pj.Iter()
    			cpy := i
    			b, err := cpy.MarshalJSON()
    			if err != nil {
    				t.Fatal(err)
    			}
    			if false {
    				t.Log(string(b))
    			}
    			// _ = os.WriteFile(filepath.Join("testdata", tt.name+".json"), b, os.ModePerm)
    
    		parser:
    			for {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. internal/s3select/sql/evaluate.go

    			}
    			dst[i] = *v
    		}
    		return FromArray(dst), nil
    	case simdjson.Object:
    		o := rval
    		elems, err := o.Parse(nil)
    		if err != nil {
    			return nil, err
    		}
    		bs, err := elems.MarshalJSON()
    		if err != nil {
    			return nil, err
    		}
    		return FromBytes(bs), nil
    	case []Value:
    		return FromArray(rval), nil
    	case nil:
    		return FromNull(), nil
    	case Missing:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. api/go1.txt

    pkg encoding/json, type InvalidUnmarshalError struct
    pkg encoding/json, type InvalidUnmarshalError struct, Type reflect.Type
    pkg encoding/json, type Marshaler interface { MarshalJSON }
    pkg encoding/json, type Marshaler interface, MarshalJSON() ([]uint8, error)
    pkg encoding/json, type MarshalerError struct
    pkg encoding/json, type MarshalerError struct, Err error
    pkg encoding/json, type MarshalerError struct, Type reflect.Type
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  5. api/go1.1.txt

    pkg math, const SqrtPi = 1.77245  // 177245385090551602729816748334114518279754945612238712821380779/100000000000000000000000000000000000000000000000000000000000000
    pkg math/big, const MaxBase = 36
    pkg math/big, method (*Int) MarshalJSON() ([]uint8, error)
    pkg math/big, method (*Int) SetUint64(uint64) *Int
    pkg math/big, method (*Int) Uint64() uint64
    pkg math/big, method (*Int) UnmarshalJSON([]uint8) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top