encoding/json.encodeState.ptrSeen (field)
12 uses
encoding/json (current package)
encode.go#L297: ptrSeen map[interface{}]struct{}
encode.go#L308: if len(e.ptrSeen) > 0 {
encode.go#L314: return &encodeState{ptrSeen: make(map[interface{}]struct{})}
encode.go#L788: if _, ok := e.ptrSeen[ptr]; ok {
encode.go#L791: e.ptrSeen[ptr] = struct{}{}
encode.go#L792: defer delete(e.ptrSeen, ptr)
encode.go#L882: if _, ok := e.ptrSeen[ptr]; ok {
encode.go#L885: e.ptrSeen[ptr] = struct{}{}
encode.go#L886: defer delete(e.ptrSeen, ptr)
encode.go#L938: if _, ok := e.ptrSeen[ptr]; ok {
encode.go#L941: e.ptrSeen[ptr] = struct{}{}
encode.go#L942: defer delete(e.ptrSeen, ptr)
![]() |
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. |