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:
@ -3,12 +3,12 @@ package test
|
||||
type typeForTest string
|
||||
|
||||
var inputs = []string{
|
||||
`""`, // valid
|
||||
`"hello"`, // valid
|
||||
`"`, // invalid
|
||||
`"\"`, // invalid
|
||||
`"\x00"`, // invalid
|
||||
`""`, // valid
|
||||
`"hello"`, // valid
|
||||
`"`, // invalid
|
||||
`"\"`, // invalid
|
||||
`"\x00"`, // invalid
|
||||
"\"\x00\"", // invalid
|
||||
"\"\t\"", // invalid
|
||||
`"\t"`, // valid
|
||||
"\"\t\"", // invalid
|
||||
`"\t"`, // valid
|
||||
}
|
||||
|
Reference in New Issue
Block a user