Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mayAppendQuote (0.21 sec)

  1. src/encoding/json/encode.go

    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	b = strconv.AppendBool(b, v.Bool())
    	b = mayAppendQuote(b, opts.quoted)
    	e.Write(b)
    }
    
    func intEncoder(e *encodeState, v reflect.Value, opts encOpts) {
    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	b = strconv.AppendInt(b, v.Int(), 10)
    	b = mayAppendQuote(b, opts.quoted)
    	e.Write(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top