...

Source file src/github.com/mailru/easyjson/tests/unknown_fields.go

Documentation: github.com/mailru/easyjson/tests

     1  package tests
     2  
     3  import "github.com/mailru/easyjson"
     4  
     5  //easyjson:json
     6  type StructWithUnknownsProxy struct {
     7  	easyjson.UnknownFieldsProxy
     8  
     9  	Field1 string
    10  }
    11  
    12  //easyjson:json
    13  type StructWithUnknownsProxyWithOmitempty struct {
    14  	easyjson.UnknownFieldsProxy
    15  
    16  	Field1 string `json:",omitempty"`
    17  }
    18  

View as plain text