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