You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-12 22:47:42 +02:00
add tests for #283
This commit is contained in:
@ -93,6 +93,13 @@ func init() {
|
||||
T float64 `json:"t"`
|
||||
})(nil),
|
||||
input: `{"T":10.0}`,
|
||||
}, unmarshalCase{
|
||||
ptr: (*struct {
|
||||
KeyString string `json:"key_string"`
|
||||
Type string `json:"type"`
|
||||
Asks [][2]float64 `json:"asks"`
|
||||
})(nil),
|
||||
input: `{"key_string": "KEYSTRING","type": "TYPE","asks": [[1e+66,1]]}`,
|
||||
})
|
||||
marshalCases = append(marshalCases,
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user