Files
kirillx f0a000e7a8 Previous optimisation in findStringLen has broken unescaping of \\\" sequences (#284)
* tests: don't ignore errors, verify them carefully

* fix unescaping of \\\\\" and such sequences

* tests: add Unmarshal test cases for escaped sequences
2020-04-24 20:26:02 +03:00

12 lines
155 B
Go

package tests
//easyjson:json
type EscStringStruct struct {
A string `json:"a"`
}
//easyjson:json
type EscIntStruct struct {
A int `json:"a,string"`
}