Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRoundtripStringTag (0.98 sec)

  1. src/encoding/json/encode_test.go

    	BoolStr    bool    `json:",string"`
    	IntStr     int64   `json:",string"`
    	UintptrStr uintptr `json:",string"`
    	StrStr     string  `json:",string"`
    	NumberStr  Number  `json:",string"`
    }
    
    func TestRoundtripStringTag(t *testing.T) {
    	tests := []struct {
    		CaseName
    		in   StringTag
    		want string // empty to just test that we roundtrip
    	}{{
    		CaseName: Name("AllTypes"),
    		in: StringTag{
    			BoolStr:    true,
    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