Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for jsonToValue (0.25 sec)

  1. internal/s3select/sql/evaluate.go

    		if err != nil {
    			return nil, err
    		}
    
    		return jsonToValue(result)
    	default:
    		if pathExpr[len(pathExpr)-1].Key == nil {
    			return nil, errInvalidKeypath
    		}
    		return r.Get(pathExpr[len(pathExpr)-1].Key.keyString())
    	}
    }
    
    // jsonToValue will convert the json value to an internal value.
    func jsonToValue(result interface{}) (*Value, error) {
    	switch rval := result.(type) {
    	case string:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top