mirror of
https://github.com/json-iterator/go.git
synced 2025-01-17 18:44:50 +02:00
Add test for json tag on embedded field
This commit is contained in:
parent
9ec64591b6
commit
c1411e0ad5
@ -1,5 +1,9 @@
|
||||
package test
|
||||
|
||||
type E struct {
|
||||
E1 string
|
||||
}
|
||||
|
||||
type T struct {
|
||||
F1 string `json:"F1"`
|
||||
F2 string `json:"f2"`
|
||||
@ -7,4 +11,5 @@ type T struct {
|
||||
F4 string `json:"-,"`
|
||||
F5 string `json:","`
|
||||
F6 string `json:""`
|
||||
E `json:"e"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user