mirror of
https://github.com/netbirdio/easyjson.git
synced 2026-05-22 18:44:42 -07:00
f0a000e7a8
* tests: don't ignore errors, verify them carefully * fix unescaping of \\\\\" and such sequences * tests: add Unmarshal test cases for escaped sequences
12 lines
155 B
Go
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"`
|
|
}
|