...

Source file src/github.com/json-iterator/go/value_tests/ptr_114_test.go

Documentation: github.com/json-iterator/go/value_tests

     1  // +build go1.14
     2  
     3  package test
     4  
     5  func init() {
     6  	unmarshalCases = append(unmarshalCases, unmarshalCase{
     7  		obj: func() interface{} {
     8  			var i int
     9  			pi := &i
    10  			ppi := &pi
    11  			return &ppi
    12  		},
    13  		input: "null",
    14  	})
    15  }
    16  

View as plain text