encoding/json/jsontext.Decoder.InputOffset (method)

17 uses

	encoding/json/jsontext (current package)
		decode.go#L1136: func (d *Decoder) InputOffset() int64 {
		value.go#L336: 		beforeBody := d.InputOffset() // offset after '{'
		value.go#L338: 			beforeName := d.InputOffset()
		value.go#L343: 			afterValue := d.InputOffset()
		value.go#L352: 		afterBody := d.InputOffset() // offset before '}'

	encoding/json
		v2_scanner.go#L34: 			offset := d.InputOffset() + int64(len(d.UnreadBuffer()))
		v2_stream.go#L293: 	offset := dec.dec.InputOffset()

	encoding/json/v2
		arshal.go#L459: 				offset := in.InputOffset() + int64(len(in.UnreadBuffer()))
		arshal.go#L476: 			offset := in.InputOffset() + int64(len(in.UnreadBuffer()))
		arshal_any.go#L202: 			err := newDuplicateNameError(dec.StackPointer(), nil, dec.InputOffset()-len64(name))
		arshal_default.go#L1050: 						return newDuplicateNameError(dec.StackPointer(), nil, dec.InputOffset()-len64(name))
		arshal_default.go#L1352: 							return newDuplicateNameError(dec.StackPointer(), nil, dec.InputOffset()-len64(val))
		arshal_default.go#L1374: 					return newDuplicateNameError(dec.StackPointer(), nil, dec.InputOffset()-len64(val))
		errors.go#L144: 		ByteOffset:  d.InputOffset() + int64(export.Decoder(d).CountNextDelimWhitespace()),
		errors.go#L166: 	byteOffset := d.InputOffset() - int64(len(tokOrVal))
		errors.go#L241: 		offset = c.InputOffset() - int64(len(tokOrVal))
		errors.go#L245: 			offset = c.InputOffset() + int64(export.Decoder(c).CountNextDelimWhitespace())