type encoding/json.encOpts
26 uses
encoding/json (current package)
encode.go#L161: err := e.marshal(v, encOpts{escapeHTML: true})
encode.go#L322: func (e *encodeState) marshal(v interface{}, opts encOpts) (err error) {
encode.go#L359: func (e *encodeState) reflectValue(v reflect.Value, opts encOpts) {
encode.go#L363: type encOpts struct {
encode.go#L370: type encoderFunc func(e *encodeState, v reflect.Value, opts encOpts)
encode.go#L395: fi, loaded := encoderCache.LoadOrStore(t, encoderFunc(func(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L465: func invalidValueEncoder(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L469: func marshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L489: func addrMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L506: func textMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L523: func addrTextMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L537: func boolEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L551: func intEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L562: func uintEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L575: func (bits floatEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L619: func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L711: func interfaceEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L719: func unsupportedTypeEncoder(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L732: func (se structEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L779: func (me mapEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L833: func encodeByteSlice(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L868: func (se sliceEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L908: func (ae arrayEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L929: func (pe ptrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L957: func (ce condAddrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
stream.go#L206: err := e.marshal(v, encOpts{escapeHTML: enc.escapeHTML})
 |
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. |