Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMarshalRawMessageValue (0.17 sec)

  1. src/encoding/json/encode_test.go

    						t.Fatalf("stopping test early")
    					}
    				}
    			}
    		}
    	}
    	test(0, 64)
    	test(math.Copysign(0, -1), 64)
    	test(0, 32)
    	test(math.Copysign(0, -1), 32)
    }
    
    func TestMarshalRawMessageValue(t *testing.T) {
    	type (
    		T1 struct {
    			M RawMessage `json:",omitempty"`
    		}
    		T2 struct {
    			M *RawMessage `json:",omitempty"`
    		}
    	)
    
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top