Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for jsonFloat (0.26 sec)

  1. internal/s3select/json/record.go

    func NewRecord(f sql.SelectObjectFormat) *Record {
    	return &Record{
    		KVS:          jstream.KVS{},
    		SelectFormat: f,
    	}
    }
    
    // jsonFloat converts a float to string similar to Go stdlib formats json floats.
    func jsonFloat(f float64) string {
    	var tmp [32]byte
    	dst := tmp[:0]
    
    	// Convert as if by ES6 number to string conversion.
    	// This matches most other JSON generators.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top