encoding/json.decodeState.off (field)
22 uses
encoding/json (current package)
decode.go#L206: off int // next read offset in data
decode.go#L220: return d.off - 1
decode.go#L230: d.off = 0
decode.go#L262: s, data, i := &d.scan, d.data, d.off
decode.go#L268: d.off = i
decode.go#L277: if d.off < len(d.data) {
decode.go#L278: d.opcode = d.scan.step(&d.scan, d.data[d.off])
decode.go#L279: d.off++
decode.go#L282: d.off = len(d.data) + 1 // mark processed EOF with len+1
decode.go#L289: s, data, i := &d.scan, d.data, d.off
decode.go#L295: d.off = i
decode.go#L300: d.off = len(data) + 1 // mark processed EOF with len+1
decode.go#L313: data, i := d.data, d.off
decode.go#L347: d.off = i + 1
decode.go#L503: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L506: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L524: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L609: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L612: d.saveError(&UnmarshalTypeError{Value: "object", Type: v.Type(), Offset: int64(d.off)})
decode.go#L642: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L654: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L838: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeOf(0.0), Offset: int64(d.off)}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |