func encoding/json/internal/jsonwire.ConsumeLiteral
8 uses
encoding/json/internal/jsonwire (current package)
decode.go#L76: func ConsumeLiteral(b []byte, lit string) (n int, err error) {
encoding/json/jsontext
decode.go#L864: n, err = jsonwire.ConsumeLiteral(d.buf[pos:], "null")
decode.go#L868: n, err = jsonwire.ConsumeLiteral(d.buf[pos:], "false")
decode.go#L872: n, err = jsonwire.ConsumeLiteral(d.buf[pos:], "true")
decode.go#L911: n, err := jsonwire.ConsumeLiteral(d.buf[pos:], lit)
encode.go#L676: n, err := jsonwire.ConsumeLiteral(src, "null")
encode.go#L682: n, err := jsonwire.ConsumeLiteral(src, "false")
encode.go#L688: n, err := jsonwire.ConsumeLiteral(src, "true")