mirror of
https://github.com/json-iterator/go.git
synced 2024-11-24 08:22:14 +02:00
14 lines
231 B
Go
14 lines
231 B
Go
package test
|
|
|
|
import "encoding/json"
|
|
|
|
func init() {
|
|
marshalCases = append(marshalCases,
|
|
json.RawMessage("{}"),
|
|
)
|
|
unmarshalCases = append(unmarshalCases, unmarshalCase{
|
|
ptr: (*json.RawMessage)(nil),
|
|
input: `[1,2,3]`,
|
|
})
|
|
}
|