Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for jsonToValue (0.38 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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top