You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
fix #236 case sensitive when both upper case and lower case presents
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
package test
|
||||
|
||||
func init() {
|
||||
//testCases = append(testCases,
|
||||
// (*struct {
|
||||
// Upper bool `json:"M"`
|
||||
// Lower bool `json:"m"`
|
||||
// })(nil),
|
||||
//)
|
||||
testCases = append(testCases,
|
||||
(*struct {
|
||||
Upper bool `json:"M"`
|
||||
Lower bool `json:"m"`
|
||||
})(nil),
|
||||
)
|
||||
asymmetricTestCases = append(asymmetricTestCases, [][2]interface{}{
|
||||
{
|
||||
(*struct {
|
||||
|
Reference in New Issue
Block a user