You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-11-23 22:34:49 +02:00
add more test for #252
This commit is contained in:
@@ -88,6 +88,11 @@ func init() {
|
||||
T float64 `json:"T"`
|
||||
})(nil),
|
||||
input: `{"T":10.0}`,
|
||||
}, unmarshalCase{
|
||||
ptr: (*struct {
|
||||
T float64 `json:"t"`
|
||||
})(nil),
|
||||
input: `{"T":10.0}`,
|
||||
})
|
||||
marshalCases = append(marshalCases,
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user