encoding/json.field.index (field)
21 uses
encoding/json (current package)
decode.go#L713: for _, i := range f.index {
encode.go#L740: for _, i := range f.index {
encode.go#L1182: index []int
encode.go#L1198: for k, xik := range x[i].index {
encode.go#L1199: if k >= len(x[j].index) {
encode.go#L1202: if xik != x[j].index[k] {
encode.go#L1203: return xik < x[j].index[k]
encode.go#L1206: return len(x[i].index) < len(x[j].index)
encode.go#L1266: index := make([]int, len(f.index)+1)
encode.go#L1267: copy(index, f.index)
encode.go#L1268: index[len(f.index)] = i
encode.go#L1298: index: index,
encode.go#L1328: next = append(next, field{name: ft.Name(), index: index, typ: ft})
encode.go#L1342: if len(x[i].index) != len(x[j].index) {
encode.go#L1343: return len(x[i].index) < len(x[j].index)
encode.go#L1384: f.encoder = typeEncoder(typeByIndex(t, f.index))
encode.go#L1403: if len(fields) > 1 && len(fields[0].index) == len(fields[1].index) && fields[0].tag == fields[1].tag {
 |
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. |