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

Class JSONPatchFilter

[apisource code


Filtering capabilities on the entries of patch lists.

.. warning:

  Not yet implemented.
Instance Methods [hide private]
 
__init__(self, **kargs)
Args: kargs: Filter parameters:
[apisource code
 
__eq__(self, x) [apisource code
 
__ne__(self, x) [apisource 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)

[apisource 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:
    JSONPointerError:

Overrides: object.__init__