You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
#133 validate json when Skip()
This commit is contained in:
12
skip_tests/array/inputs.go
Normal file
12
skip_tests/array/inputs.go
Normal file
@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
type typeForTest []interface{}
|
||||
|
||||
var inputs = []string{
|
||||
`[]`, // valid
|
||||
`[1]`, // valid
|
||||
`[ 1, "hello"]`, // valid
|
||||
`[abc]`, // invalid
|
||||
`[`, // invalid
|
||||
`[[]`, // invalid
|
||||
}
|
Reference in New Issue
Block a user