encoding/json.field.name (field)
13 uses
encoding/json (current package)
decode.go#L735: d.errorContext.FieldStack = append(d.errorContext.FieldStack, f.name)
encode.go#L1174: name string
encode.go#L1296: name: name,
encode.go#L1303: field.nameBytes = []byte(field.name)
encode.go#L1312: field.nameNonEsc = `"` + field.name + `":`
encode.go#L1328: next = append(next, field{name: ft.Name(), index: index, typ: ft})
encode.go#L1339: if x[i].name != x[j].name {
encode.go#L1340: return x[i].name < x[j].name
encode.go#L1362: name := fi.name
encode.go#L1365: if fj.name != name {
encode.go#L1388: nameIndex[field.name] = i
![]() |
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. |