Package jsondata :: Module JSONPatch :: Class JSONPatchFilter
[hide private]
[frames] | no frames]

Class JSONPatchFilter

source code


Filtering capabilities on the entries of patch lists.

Instance Methods [hide private]
 
__init__(self, **kargs)
Args: **kargs: Filter parameters: Common:
source code
 
__eq__(self, x) source code
 
__ne__(self, x) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kargs)
(Constructor)

source code 

Args:
    **kargs: Filter parameters:
        Common:

            contain=(True|False): Contain, else equal.

            type=<node-type>: Node is of type.
        
        Paths:

            branch=<branch>: 

            deep=(): Determines the depth of comparison.

            prefix=<prefix>: Any node of prefix. If prefix is
                absolute: the only and one, else None.
                relative: any node prefixed by the path fragment.
        
        Values:
            val=<node-value>: Node ha the value.
        

Returns:
    True or False

Raises:
    JSONPointerException:

Overrides: object.__init__