File: bool_test.go

package info (click to toggle)
golang-github-json-iterator-go 1.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, sid
  • size: 896 kB
  • sloc: sh: 19; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
package test

func init() {
	unmarshalCases = append(unmarshalCases, unmarshalCase{
		ptr: (*struct {
			Field bool `json:"field"`
		})(nil),
		input: `{"field": null}`,
	})
}