encoding/json.reflectWithString.v (field)
11 uses
encoding/json (current package)
encode.go#L800: sv[i].v = v
encode.go#L813: me.elemEnc(e, v.MapIndex(kv.v), opts)
encode.go#L1000: v reflect.Value
encode.go#L1005: if w.v.Kind() == reflect.String {
encode.go#L1006: w.s = w.v.String()
encode.go#L1009: if tm, ok := w.v.Interface().(encoding.TextMarshaler); ok {
encode.go#L1010: if w.v.Kind() == reflect.Ptr && w.v.IsNil() {
encode.go#L1017: switch w.v.Kind() {
encode.go#L1019: w.s = strconv.FormatInt(w.v.Int(), 10)
encode.go#L1022: w.s = strconv.FormatUint(w.v.Uint(), 10)
![]() |
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. |