encoding/json/v2.SemanticError.JSONPointer (field)
17 uses
encoding/json/v2 (current package)
errors.go#L86: JSONPointer jsontext.Pointer
errors.go#L129: JSONPointer: jsontext.Pointer(export.Encoder(e).AppendStackPointer(nil, +1))}
errors.go#L145: JSONPointer: jsontext.Pointer(export.Decoder(d).AppendStackPointer(nil, +1)),
errors.go#L177: JSONPointer: jsontext.Pointer(export.Decoder(d).AppendStackPointer(nil, -1)),
errors.go#L250: if serr.JSONPointer == "" {
errors.go#L258: serr.JSONPointer = jsontext.Pointer(coderState.AppendStackPointer(nil, where))
errors.go#L308: serr2.JSONPointer = serr1.JSONPointer + serr2.JSONPointer
errors.go#L407: sb.WriteString(strconv.Quote(e.JSONPointer.LastToken()))
errors.go#L408: if parent := e.JSONPointer.Parent(); parent != "" {
errors.go#L418: case e.JSONPointer != "":
errors.go#L419: if serr == nil || !e.JSONPointer.Contains(serr.JSONPointer) {
errors.go#L421: sb.WriteString(strconv.Quote(jsonwire.TruncatePointer(string(e.JSONPointer), 100)))
encoding/json
v2_inject.go#L77: return fmt.Errorf("json: unknown field %q", err.JSONPointer.LastToken())
v2_inject.go#L138: if t := reflect.TypeOf(root); t != nil && err.JSONPointer != "" {
v2_inject.go#L144: fieldPath := string(err.JSONPointer)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)