CompilesJsonPaths
trait CompilesJsonPaths (View source)
Methods
                    array
                
                
                    wrapJsonFieldAndPath(string $column)
        
                                            
                
            Split the given JSON selector into the field and the optional path and wrap them separately.
                    string
                
                
                    wrapJsonPath(string $value, string $delimiter = '->')
        
                                            
                
            Wrap the given JSON path.
                    string
                
                
                    wrapJsonPathSegment(string $segment)
        
                                            
                
            Wrap the given JSON path segment.
Details
        
                    protected        array
    wrapJsonFieldAndPath(string $column)
        
    
    Split the given JSON selector into the field and the optional path and wrap them separately.
        
                    protected        string
    wrapJsonPath(string $value, string $delimiter = '->')
        
    
    Wrap the given JSON path.
        
                    protected        string
    wrapJsonPathSegment(string $segment)
        
    
    Wrap the given JSON path segment.